aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorZi Yan <ziy@nvidia.com>2025-01-22 11:19:26 -0500
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:05:56 -0700
commit035a112e5fd5b93a1d34c5d736bb515b2f9fa52f (patch)
tree821d8780e8cb3f4c561f37ec3210f11fc7570c7e /mm/memory.c
parentmm/oom_kill: fix trivial typo in comment (diff)
downloadwireguard-linux-035a112e5fd5b93a1d34c5d736bb515b2f9fa52f.tar.xz
wireguard-linux-035a112e5fd5b93a1d34c5d736bb515b2f9fa52f.zip
selftests/mm: make file-backed THP split work by writing PMD size data
Commit acd7ccb284b8 ("mm: shmem: add large folio support for tmpfs") changes huge=always to allocate THP/mTHP based on write size and split_huge_page_test does not write PMD size data, so file-back THP is not created during the test. Fix it by writing PMD size data. Link: https://lkml.kernel.org/r/20250122161928.1240637-1-ziy@nvidia.com Signed-off-by: Zi Yan <ziy@nvidia.com> Cc: 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 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions