diff options
| author | Sidhartha Kumar <[email protected]> | 2023-01-06 15:52:51 -0600 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-01-18 17:12:57 -0800 |
| commit | 02d65d6fb1aae151570c8bfd1bd77a8153d2e607 (patch) | |
| tree | 6b543908838b5881c10f6aaf08bf84073cf78d63 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 17e810229cb3068b692fa078bd9b3a6527e0866a (diff) | |
mm: introduce folio_is_pfmemalloc
Add a folio equivalent for page_is_pfmemalloc. This removes two instances
of page_is_pfmemalloc(folio_page(folio, 0)) so the folio can be used
directly.
Link: https://lkml.kernel.org/r/[email protected]
Suggested-by: Matthew Wilcox <[email protected]>
Signed-off-by: Sidhartha Kumar <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions