summaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-02-27 17:42:38 +0000
committerAndrew Morton <akpm@linux-foundation.org>2024-03-04 17:01:23 -0800
commit6871cc5742f411bf8ebbcb78b4afeb992d888228 (patch)
tree2ac30b31c97955e56d6223e76e1f98b2a03d1d9d /mm/memcontrol.c
parent90491d87dd46a4c843dae775b9e72c91624c5a7b (diff)
downloadlinux-6871cc5742f411bf8ebbcb78b4afeb992d888228.tar.gz
linux-6871cc5742f411bf8ebbcb78b4afeb992d888228.tar.bz2
linux-6871cc5742f411bf8ebbcb78b4afeb992d888228.zip
mm: use folios_put() in __folio_batch_release()
There's no need to indirect through release_pages() and iterate over this batch of folios an extra time; we can just use the batch that we have. Link: https://lkml.kernel.org/r/20240227174254.710559-5-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Ryan Roberts <ryan.roberts@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: Mel Gorman <mgorman@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions