diff options
author | Muchun Song <songmuchun@bytedance.com> | 2021-02-05 03:33:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-02-05 20:03:47 +0100 |
commit | e558464be982af2546229dcbef746d24e942abaa (patch) | |
tree | bbbfe14fbd8bcf9624aa216393eaf75411caeda6 /include/sound/emux_synth.h | |
parent | ubsan: implement __ubsan_handle_alignment_assumption (diff) | |
download | linux-e558464be982af2546229dcbef746d24e942abaa.tar.xz linux-e558464be982af2546229dcbef746d24e942abaa.zip |
mm: hugetlb: fix missing put_page in gather_surplus_pages()
The VM_BUG_ON_PAGE avoids the generation of any code, even if that
expression has side-effects when !CONFIG_DEBUG_VM.
Link: https://lkml.kernel.org/r/20210126031009.96266-1-songmuchun@bytedance.com
Fixes: e5dfacebe4a4 ("mm/hugetlb.c: just use put_page_testzero() instead of page_count()")
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/sound/emux_synth.h')
0 files changed, 0 insertions, 0 deletions