aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/test_hmm.c
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2025-01-22 11:19:28 -0500
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:05:56 -0700
commitad4c9bb5415232b452157002a48d58a1dc92d3c0 (patch)
tree0831b61272b6c58f7f5875c04f9c1bf038ef3bad /lib/test_hmm.c
parentmm/huge_memory: allow split shmem large folio to any lower order (diff)
downloadwireguard-linux-ad4c9bb5415232b452157002a48d58a1dc92d3c0.tar.xz
wireguard-linux-ad4c9bb5415232b452157002a48d58a1dc92d3c0.zip
selftests/mm: test splitting file-backed THP to any lower order
Now split_huge_page*() supports shmem THP split to any lower order. Test it. The test now reads file content out after split to check if the split corrupts the file data. Link: https://lkml.kernel.org/r/20250122161928.1240637-3-ziy@nvidia.com Signed-off-by: Zi Yan <ziy@nvidia.com> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Tested-by: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: David Hildenbrand <david@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Kirill A. Shuemov <kirill.shutemov@linux.intel.com> Cc: Miaohe Lin <linmiaohe@huawei.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Yang Shi <yang@os.amperecomputing.com> Cc: Yu Zhao <yuzhao@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/test_hmm.c')
0 files changed, 0 insertions, 0 deletions