summaryrefslogtreecommitdiff
path: root/mm/damon/dbgfs-test.h
diff options
context:
space:
mode:
authorAlex Shi (tencent) <alexs@kernel.org>2024-04-11 09:17:05 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-05-06 03:53:33 +0300
commit9d5cc14093594f0a5f8318cc70208bbbe71f5fce (patch)
treef379bfdf52078d0584e18f1a0585942c260975d3 /mm/damon/dbgfs-test.h
parentb8b0ff244ddca0d475c91c9accf144e25311a951 (diff)
downloadlinux-9d5cc14093594f0a5f8318cc70208bbbe71f5fce.tar.xz
mm/ksm: use folio in remove_stable_node
Pages in stable tree are all single normal page, so uses ksm_get_folio() and folio_set_stable_node(), also saves 3 calls to compound_head(). Link: https://lkml.kernel.org/r/20240411061713.1847574-5-alexs@kernel.org Signed-off-by: Alex Shi (tencent) <alexs@kernel.org> Reviewed-by: David Hildenbrand <david@redhat.com> 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/damon/dbgfs-test.h')
0 files changed, 0 insertions, 0 deletions