aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndrew Morton <[email protected]>2022-09-13 15:20:48 -0700
committerAndrew Morton <[email protected]>2022-10-03 14:03:14 -0700
commita8368cd8e22531b3b248a2c869d71b668aeeb789 (patch)
tree526f3af645a5094befb5b7fd7f7cba314f60ea7c /tools/perf/scripts/python/export-to-sqlite.py
parent4988fe69527c6e02066aeb454c2db4d6d51d317b (diff)
mm/page_alloc.c: rename check_free_page() to free_page_is_bad()
The name "check_free_page()" provides no information regarding its return value when the page is indeed found to be bad. Renaming it to "free_page_is_bad()" makes it clear that a `true' return value means the page was bad. And make it return a bool, not an int. [[email protected]: don't use bool as int] Cc: Catalin Marinas <[email protected]> Cc: ke.wang <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Zhaoyang Huang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions