diff options
| author | Kirill A. Shutemov <[email protected]> | 2024-08-09 11:48:53 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-02 03:26:07 +0000 |
| commit | e44dd9b13392b4c8fe3bcdeb13c46759259fcabc (patch) | |
| tree | 5cf7e9b78ea5627f70b67cde4fa26bce3a57d229 /mm/vmalloc.c | |
| parent | mm: add a helper to accept page (diff) | |
| download | kernel-e44dd9b13392b4c8fe3bcdeb13c46759259fcabc.tar.gz kernel-e44dd9b13392b4c8fe3bcdeb13c46759259fcabc.zip | |
mm: page_isolation: handle unaccepted memory isolation
Page isolation machinery doesn't know anything about unaccepted memory and
considers it non-free. It leads to alloc_contig_pages() failure.
Treat unaccepted memory as free and accept memory on pageblock isolation.
Once memory is accepted it becomes PageBuddy() and page isolation knows
how to deal with them.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Mike Rapoport (Microsoft) <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
