diff options
author | 2024-02-27 17:42:43 +0000 | |
---|---|---|
committer | 2024-03-04 17:01:24 -0800 | |
commit | 31b2ff82aefb33ce92496a1becddd6ce51060db2 (patch) | |
tree | 2ba6d731853cab9b0913088f0006bd3a4ba329be /mm/vmscan.c | |
parent | mm: use __page_cache_release() in folios_put() (diff) | |
download | wireguard-linux-31b2ff82aefb33ce92496a1becddd6ce51060db2.tar.xz wireguard-linux-31b2ff82aefb33ce92496a1becddd6ce51060db2.zip |
mm: handle large folios in free_unref_folios()
Call folio_undo_large_rmappable() if needed. free_unref_page_prepare()
destroys the ability to call folio_order(), so stash the order in
folio->private for the benefit of the second loop.
Link: https://lkml.kernel.org/r/20240227174254.710559-10-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions