aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/shrinker_debug.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2024-08-20 17:49:14 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-03 21:15:39 -0700
commitd6b8f296e8d74d685627fd746558745c13b8bd32 (patch)
tree4d236b8fc8c4431d0f3570d7bf60b18663367cb6 /mm/shrinker_debug.c
parentmm: khugepaged: expand the is_refcount_suitable() to support file folios (diff)
downloadwireguard-linux-d6b8f296e8d74d685627fd746558745c13b8bd32.tar.xz
wireguard-linux-d6b8f296e8d74d685627fd746558745c13b8bd32.zip
mm: khugepaged: use the number of pages in the folio to check the reference count
Use the number of pages in the folio to check the reference count as preparation for supporting shmem mTHP collapse. Link: https://lkml.kernel.org/r/9ea49262308de28957596cc6e8edc2d3a4f54659.1724140601.git.baolin.wang@linux.alibaba.com Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Acked-by: David Hildenbrand <david@redhat.com> Cc: Barry Song <21cnbao@gmail.com> Cc: Hugh Dickins <hughd@google.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Yang Shi <shy828301@gmail.com> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions