summaryrefslogtreecommitdiff
path: root/mm/swap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-01-25 16:34:33 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-02-03 09:33:33 +0300
commit9b4e30bd7309222f74a5198f44bd45feea024b00 (patch)
treeedcc9d0705f2ec7ebacdad772bd6878c2ce4aab7 /mm/swap.h
parent14bd75f57400dba0e75eaee4dcb44ac52a46253f (diff)
downloadlinux-9b4e30bd7309222f74a5198f44bd45feea024b00.tar.xz
mm: use an on-stack bio for synchronous swapin
Optimize the synchronous swap in case by using an on-stack bio instead of allocating one using bio_alloc. Link: https://lkml.kernel.org/r/20230125133436.447864-5-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Ira Weiny <ira.weiny@intel.com> Cc: Jens Axboe <axboe@kernel.dk> Cc: Keith Busch <kbusch@kernel.org> Cc: Minchan Kim <minchan@kernel.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/swap.h')
0 files changed, 0 insertions, 0 deletions