Skip to content

improve fadvise(POSIX_FADV_WILLNEED) with large folio

Jaegeuk Kim linux-f2fs-devel linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v1 posting 2/24 patches 5 repliesSuperseded
  3. v1 posting 1/24 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm/readahead: fix the broken readahead for POSIX_FADV_WILLNEEDmm/readahead.c+12 -150 replies
2/3mm/readahead: use page_cache_sync_ra for FADVISE_FAV_WILLNEEDmm/readahead.c+12 -30 replies
3/3mm/readahead: try to allocate high order pages for FADVISE_FAV_WILLNEEDmm/readahead.c+3 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/3 v2] improve fadvise(POSIX_FADV_WILLNEED) with large folio

This patch series aims to improve fadvise(POSIX_FADV_WILLNEED). The first patch fixes the broken logic which was not reading the entire range ahead, and second patch converts the readahead function to adopt large folio, and the thrid one bumps up the folio order for high-order page allocation accordingly.

Jaegeuk Kim (3):
mm/readahead: fix the broken readahead for POSIX_FADV_WILLNEED mm/readahead: use page_cache_sync_ra for FADVISE_FAV_WILLNEED mm/readahead: try to allocate high order pages for
FADVISE_FAV_WILLNEED

 mm/readahead.c | 43 +++++++++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 18 deletions(-)
Signature · 1 line
2.52.0.107.ga0afd4fd5b-goog