diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2023-01-16 19:29:59 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-02 22:33:21 -0800 |
| commit | 5b4bd90f9ac76136c7148684b12276d4ae2d64a2 (patch) | |
| tree | dba20cc221190f830ba7e5bb8c5a74126cdb9a34 /tools/perf/scripts/python | |
| parent | e0650a41f7d024b72669a2a2db846ef70281abd8 (diff) | |
rmap: add folio parameter to __page_set_anon_rmap()
Avoid the compound_head() call in PageAnon() by passing in the folio that
all callers have. Also save me from wondering whether page->mapping can
ever be overwritten on a tail page (I don't think it can, but I'm not 100%
sure).
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions