diff options
| author | Yang Shi <[email protected]> | 2019-11-30 17:51:26 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-12-01 06:29:19 -0800 |
| commit | 30c46382855e0e1b8a5c21331076feb190524546 (patch) | |
| tree | 32c40f48ec42f268081b041e28076156262b0d08 /tools/perf/scripts/python | |
| parent | 091e4299544f8658a4b10815da9e4e603e070121 (diff) | |
mm/rmap.c: use VM_BUG_ON_PAGE() in __page_check_anon_rmap()
The __page_check_anon_rmap() just calls two BUG_ON()s protected by
CONFIG_DEBUG_VM, the #ifdef could be eliminated by using VM_BUG_ON_PAGE().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Shi <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions