diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-27 20:42:37 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-05 04:01:23 +0300 |
commit | 90491d87dd46a4c843dae775b9e72c91624c5a7b (patch) | |
tree | ecce94adbdefc9b50e074d12d037521f899ebdd2 /net/dccp/minisocks.c | |
parent | 7c76d92253dbb7c53ba03a4cd6639113cd1f7d3a (diff) | |
download | linux-90491d87dd46a4c843dae775b9e72c91624c5a7b.tar.xz |
mm: add free_unref_folios()
Iterate over a folio_batch rather than a linked list. This is easier for
the CPU to prefetch and has a batch count naturally built in so we don't
need to track it. Again, this lowers the maximum lock hold time from
32 folios to 15, but I do not expect this to have a significant effect.
Link: https://lkml.kernel.org/r/20240227174254.710559-4-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 'net/dccp/minisocks.c')
0 files changed, 0 insertions, 0 deletions