summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYeoreum Yun <yeoreum.yun@arm.com>2026-10-01 22:17:54 +0100
committerAndrew Morton <akpm@linux-foundation.org>2026-10-24 01:55:53 -0700
commit49c77c5de353f47c9607ba9ef9a6748a361ad975 (patch)
tree1dca671ce094567d21ee579d29c870272518d20f /include/linux
parentf47d99c9beb3dbc05b1d5ff199c6da95acaef9b4 (diff)
kselftest: mm: remove check_huge_shmem()
check_huge_shmem() was required to distinguish shmem huge pages because /proc/self/smaps reports them using a dedicated “ShmemPmdMapped” entry, as opposed to “FilePmdMapped” for file-backed huge pages. Now that /proc/self/smaps is no longer used to detect huge pages and /proc/kpageflags is used instead, it is sufficient to distinguish between file-backed and anonymous pages since the ShmemPmdMapped is also kind of file-backed. Therefore, remove check_huge_shmem() and use check_huge_file() instead and cleanup khugepaged's check_huge operation in mem_ops. Link: https://lore.kernel.org/20261001-fix_split-v9-4-0f4ba8bbdbdf@arm.com Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Suggested-by: David Hildenbrand (Arm) <david@kernel.org> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Reviewed-by: Sarthak Sharma <sarthak.sharma@arm.com> Acked-by: Zi Yan <ziy@nvidia.com> Acked-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Acked-by: David Hildenbrand (Arm) <david@kernel.org> Cc: Liam R. Howlett <liam@infradead.org> Cc: Nico Pache <nico.pache@linux.dev> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Dev Jain <dev.jain@arm.com> Cc: Barry Song <baohua@kernel.org> Cc: Lance Yang <lance.yang@linux.dev> Cc: Usama Arif <usama.arif@linux.dev> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Michal Hocko <mhocko@suse.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions