aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2020-06-03 15:58:39 -0700
committerLinus Torvalds <[email protected]>2020-06-03 20:09:44 -0700
commit58b7f1194fe1e188a1687e45c3475a98906aae4b (patch)
treef1d26608c2d363659fd99244a38f6755b616eec7 /scripts/gdb/linux/utils.py
parent534fe5e3c44f93ddd9daf7bb59ec2950583d0522 (diff)
mm/page_alloc.c: extract check_[new|free]_page_bad() common part to page_bad_reason()
We share similar code in check_[new|free]_page_bad() to get the page's bad reason. Let's extract it and reduce code duplication. Signed-off-by: Wei Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: David Rientjes <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Michal Hocko <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions