diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-27 17:42:46 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-04 17:01:25 -0800 |
commit | 29f3843026cf83414a8bc319c97c1d09a6c33f4e (patch) | |
tree | 841f9de24dae31c804fe696044d5e1d160f348eb /mm/memcontrol.c | |
parent | bc2ff4cbc3294c01f29449405c42ee26ee0e1f59 (diff) | |
download | linux-29f3843026cf83414a8bc319c97c1d09a6c33f4e.tar.gz linux-29f3843026cf83414a8bc319c97c1d09a6c33f4e.tar.bz2 linux-29f3843026cf83414a8bc319c97c1d09a6c33f4e.zip |
mm: free folios directly in move_folios_to_lru()
The few folios which can't be moved to the LRU list (because their
refcount dropped to zero) used to be returned to the caller to dispose of.
Make this simpler to call by freeing the folios directly through
free_unref_folios().
Link: https://lkml.kernel.org/r/20240227174254.710559-13-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/memcontrol.c')
0 files changed, 0 insertions, 0 deletions