diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2024-10-02 16:25:28 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-11-06 20:11:08 -0800 |
commit | 98c3ca0015b8a5af7f98109261bd9a471097135b (patch) | |
tree | d7b6d7b4da7785205766b495e5f1c7a9cbbaacf3 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 9c0a1b99e3919f5fddeeaf96b36f86ccc5cc2a10 (diff) |
ksm: convert cmp_and_merge_page() to use a folio
By making try_to_merge_two_pages() and stable_tree_search() return a
folio, we can replace kpage with kfolio. This replaces 7 calls to
compound_head() with one.
[[email protected]: add IS_ERR_OR_NULL check for stable_tree_search()]
Signed-off-by: Gaosheng Cui <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Alex Shi <[email protected]>
Cc: Gaosheng Cui <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions