diff options
| author | Mike Rapoport (IBM) <[email protected]> | 2023-03-21 19:05:01 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-05 19:42:52 -0700 |
| commit | fce0b4213edb960859dcc65ea414c8efb11948e1 (patch) | |
| tree | dba1b8507e6388651e617887388def25ed5256ee /tools/perf/scripts/python | |
| parent | 12b9ac6d4385e6a2ffe08e94f810cd34ee53dcdb (diff) | |
mm/page_alloc: add helper for checking if check_pages_enabled
Instead of duplicating long static_branch_enabled(&check_pages_enabled)
wrap it in a helper function is_check_pages_enabled()
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Cc: Doug Berger <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions