Christoph Hellwig 9b4e30bd73 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>
2023-02-02 22:33:33 -08:00
..
2022-12-14 12:20:00 -08:00
2023-01-18 17:12:57 -08:00
2023-02-02 22:33:29 -08:00
2022-09-26 19:46:16 -07:00
2023-02-02 22:33:19 -08:00
2023-02-02 22:33:20 -08:00
2022-10-03 14:02:43 -07:00
2022-09-26 19:46:09 -07:00
2023-01-18 17:12:57 -08:00
2023-01-18 17:12:57 -08:00
2023-01-18 17:12:47 -08:00
2023-02-02 22:33:32 -08:00
2023-01-18 17:12:57 -08:00
2022-12-11 18:12:10 -08:00
2022-12-11 18:12:10 -08:00