aboutsummaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-12 20:23:03 -0700
committerAndrew Morton <akpm@linux-foundation.org>2022-05-13 07:20:15 -0700
commit5441d4902f969293b5bfe057e26038db1a8b342e (patch)
treef397fe979d9fead8acdfae33531e6a6f6a86a8ea /mm/vmalloc.c
parentvmscan: convert lazy freeing to folios (diff)
downloadlinux-dev-5441d4902f969293b5bfe057e26038db1a8b342e.tar.xz
linux-dev-5441d4902f969293b5bfe057e26038db1a8b342e.zip
vmscan: move initialisation of mapping down
Now that we don't interrogate the BDI for congestion, we can delay looking up the folio's mapping until we've got further through the function, reducing register pressure and saving a call to folio_mapping for folios we're adding to the swap cache. Link: https://lkml.kernel.org/r/20220504182857.4013401-13-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions