diff options
| author | Luiz Capitulino <[email protected]> | 2025-03-06 22:44:51 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-03-18 05:06:57 +0000 |
| commit | 4e30b94cdad659d8ec5d32b61159138ce8d4ad1b (patch) | |
| tree | 1ec9d1178521412be6d2806579da0237285e7e30 /lib/test_xarray.c | |
| parent | mm: page_ext: add an iteration API for page extensions (diff) | |
| download | kernel-4e30b94cdad659d8ec5d32b61159138ce8d4ad1b.tar.gz kernel-4e30b94cdad659d8ec5d32b61159138ce8d4ad1b.zip | |
mm: page_table_check: use new iteration API
The page_ext_next() function assumes that page extension objects for a
page order allocation always reside in the same memory section, which may
not be true and could lead to crashes. Use the new page_ext iteration API
instead.
Link: https://lkml.kernel.org/r/ca2d53a020fe1cd65c442627ff6c0c40d591cbd8.1741301089.git.luizcap@redhat.com
Fixes: cf54f310d0d3 ("mm/hugetlb: use __GFP_COMP for gigantic folios")
Signed-off-by: Luiz Capitulino <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Yu Zhao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions
