]> www.infradead.org Git - users/willy/pagecache.git/commit
mm/readahead: add folio allocation helper
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2024 15:47:41 +0000 (08:47 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:42 +0000 (20:22 -0800)
commit1963de79d3a3bc12b7a17a922d508b733ca8fa9e
tree16d3fc01fdd74b0563e84ae69cc4911d72a5f976
parentf598cdaafc370a797ae883d370a7c18c1ffc43ef
mm/readahead: add folio allocation helper

Just a wrapper around filemap_alloc_folio() for now, but add it in
preparation for modifying the folio based on the 'ractl' being passed in.

No functional changes in this patch.

Link: https://lkml.kernel.org/r/20241220154831.1086649-4-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Brian Foster <bfoster@redhat.com>
Cc: Chris Mason <clm@meta.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/readahead.c