diff options
author | Muchun Song <[email protected]> | 2021-02-04 18:33:00 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-02-05 11:03:47 -0800 |
commit | e558464be982af2546229dcbef746d24e942abaa (patch) | |
tree | bbbfe14fbd8bcf9624aa216393eaf75411caeda6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 28abcc963149e06d956d95a18a85f4ba26af746f (diff) |
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/[email protected]
Fixes: e5dfacebe4a4 ("mm/hugetlb.c: just use put_page_testzero() instead of page_count()")
Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions