aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorAlex Shi (tencent) <alexs@kernel.org>2024-04-11 14:17:09 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-05-05 17:53:34 -0700
commit79899cce33e0887c06d41e767aa543aaaaef48e2 (patch)
treee444c0cbee5fc35b60fe94927af7dd39904d81f6 /mm/vmscan.c
parentmm/ksm: use folio in write_protect_page (diff)
downloadwireguard-linux-79899cce33e0887c06d41e767aa543aaaaef48e2.tar.xz
wireguard-linux-79899cce33e0887c06d41e767aa543aaaaef48e2.zip
mm/ksm: convert chain series funcs and replace get_ksm_page
In ksm stable tree all page are single, let's convert them to use and folios as well as stable_tree_insert/stable_tree_search funcs. And replace get_ksm_page() by ksm_get_folio() since there is no more needs. It could save a few compound_head calls. Link: https://lkml.kernel.org/r/20240411061713.1847574-9-alexs@kernel.org Signed-off-by: Alex Shi (tencent) <alexs@kernel.org> Cc: Izik Eidus <izik.eidus@ravellosystems.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Chris Wright <chrisw@sous-sol.org> Cc: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions