summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYeoreum Yun <yeoreum.yun@arm.com>2026-09-24 20:11:19 +0100
committerAndrew Morton <akpm@linux-foundation.org>2026-09-29 23:14:06 -0700
commita9e8b9722a5a64522ad5c9aefafd4b31bee7681d (patch)
tree6d857df91a0936905690c5b3c412284bf2f85cf4 /include/linux
parent8cdda64831881f30305ca76456fc18fd5d314550 (diff)
downloadlinux-next-a9e8b9722a5a64522ad5c9aefafd4b31bee7681d.tar.gz
linux-next-a9e8b9722a5a64522ad5c9aefafd4b31bee7681d.zip
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/20260924-fix_split-v8-4-cba7359d882a@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> Acked-by: Zi Yan <ziy@nvidia.com> Acked-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Acked-by: David Hildenbrand (Arm) <david@kernel.org> Reviewed-by: Sarthak Sharma <sarthak.sharma@arm.com> 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