Commit 43cabbea authored by Jens Axboe's avatar Jens Axboe Committed by Akilesh Kailash
Browse files

BACKPORT: 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.

Bug: 416315033
(cherry picked from commit 1963de79)
[ akailash: Fix minor merge conflict retaining vendor hook
in page_cache_ra_unbounded() function. ]
Link: https://lkml.kernel.org/r/20241220154831.1086649-4-axboe@kernel.dk


Change-Id: I5e1c51ef8dad3c0b4f6b32ef240f9fa12ced8738
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Reviewed-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: default avatarMatthew 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAkilesh Kailash <akailash@google.com>
parent 9a0a8df0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment