summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-06-17 19:50:09 +0200
committerakpm <akpm@linux-foundation.org>2022-07-04 03:08:46 +0200
commita2d33b5dd674c21e75ca47e3d791d070cba267dd (patch)
treefd6625c5b6a660c28577ef0528903410b6c8bfbb /mm/swapfile.c
parentmm/swap: pull the CPU conditional out of __lru_add_drain_all() (diff)
downloadlinux-a2d33b5dd674c21e75ca47e3d791d070cba267dd.tar.xz
linux-a2d33b5dd674c21e75ca47e3d791d070cba267dd.zip
mm/swap: optimise lru_add_drain_cpu()
Do the per-cpu dereferencing of the fbatches once which saves 14 bytes of text and several percpu relocations. Link: https://lkml.kernel.org/r/20220617175020.717127-12-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions