diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-03-26 17:10:32 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 20:56:15 -0700 |
| commit | dee3d0bef2b00772be430425832ead6aa9d707f9 (patch) | |
| tree | 16fd8ec09f41bea6e02d6e441843513d78a9a35c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4dc7d37370951fe86216f03a4e0a6909f9b90a8c (diff) | |
proc: rewrite stable_page_flags()
Reduce the usage of PageFlag tests and reduce the number of
compound_head() calls.
For multi-page folios, we'll now show all pages as having the flags that
apply to them, e.g. if it's dirty, all pages will have the dirty flag set
instead of just the head page. The mapped flag is still per page, as is
the hwpoison flag.
[[email protected]: fix up some bits vs masks]
Link: https://lkml.kernel.org/r/[email protected]
[[email protected]: fix warnings]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Svetly Todorov <[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