aboutsummaryrefslogtreecommitdiff
path: root/mm/page_idle.c
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2024-02-15 07:36:47 +0100
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2024-02-23 17:48:37 -0800
commita2cbc13638d909e61495f8f4c5968105fff23d9d (patch)
tree3d5d2f11a1d351271019e387a4179e9d98e7fce9 /mm/page_idle.c
parentwriteback: use the folio_batch queue iterator (diff)
downloadlinux-a2cbc13638d909e61495f8f4c5968105fff23d9d.tar.gz
linux-a2cbc13638d909e61495f8f4c5968105fff23d9d.tar.bz2
linux-a2cbc13638d909e61495f8f4c5968105fff23d9d.zip
writeback: move the folio_prepare_writeback loop out of write_cache_pages()
Move the loop for should-we-write-this-folio to writeback_get_folio. [hch@lst.de: fold loop into existing helper instead of a separate one per Jan] Link: https://lkml.kernel.org/r/20240215063649.2164017-13-hch@lst.de Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Dave Chinner <dchinner@redhat.com> Cc: Christian Brauner <brauner@kernel.org> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions