diff options
| author | Miaohe Lin <[email protected]> | 2022-04-28 23:16:02 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:16:02 -0700 |
| commit | ef526b17bc3399b8df25d574aa11fc36f89da80a (patch) | |
| tree | 8a50e6001aa05eea971162f4883641cf27fc647a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3f871370686ddf3c72207321eef8f6672ae957e4 (diff) | |
mm/memory-failure.c: dissolve truncated hugetlb page
If me_huge_page meets a truncated but not yet freed hugepage, it won't be
dissolved even if we hold the last refcnt. It's because the hugepage has
NULL page_mapping while it's not anonymous hugepage too. Thus we lose the
last chance to dissolve it into buddy to save healthy subpages. Remove
PageAnon check to handle these hugepages too.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Acked-by: Naoya Horiguchi <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Yang Shi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions