]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: stop passing a writeback_control structure to swap_writeout
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Jun 2025 05:49:41 +0000 (07:49 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:41:58 +0000 (22:41 -0700)
commit624043dbd5be03cc5a2b9175c3934e6fb0ef7c70
tree975c605a814bfb2b15fb8cfd3672646c774eb027
parent2ba8ffcefe81241fab73aa0f59142a2c9ace575b
mm: stop passing a writeback_control structure to swap_writeout

swap_writeout only needs the swap_iocb cookie from the writeback_control
structure, so pass it explicitly.

Link: https://lkml.kernel.org/r/20250610054959.2057526-6-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Chengming Zhou <chengming.zhou@linux.dev>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Nhat Pham <nphamcs@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/writeback.h
mm/page_io.c
mm/shmem.c
mm/swap.h
mm/vmscan.c