diff options
| author | Oscar Salvador <[email protected]> | 2025-04-15 11:18:59 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-04-18 03:10:08 +0000 |
| commit | 274fe92de2c4e50dbfd1b30070b4f6d8a27b388a (patch) | |
| tree | 2625b8bf4da4525639ab774150dfe347109c0e6a /rust/helpers/platform.c | |
| parent | writeback: fix false warning in inode_to_wb() (diff) | |
| download | kernel-274fe92de2c4e50dbfd1b30070b4f6d8a27b388a.tar.gz kernel-274fe92de2c4e50dbfd1b30070b4f6d8a27b388a.zip | |
mm, hugetlb: increment the number of pages to be reset on HVO
commit 4eeec8c89a0c ("mm: move hugetlb specific things in folio to
page[3]") shifted hugetlb specific stuff, and now mapping overlaps
_hugetlb_cgroup field.
Upon restoring the vmemmap for HVO, only the first two tail pages are
reset, and this causes the check in free_tail_page_prepare() to fail as it
finds an unexpected mapping value in some tails.
Increment the number of pages to be reset to 4 (head + 3 tail pages)
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 4eeec8c89a0c ("mm: move hugetlb specific things in folio to page[3]")
Signed-off-by: Oscar Salvador <[email protected]>
Suggested-by: David Hildenbrand <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
