Skip to content
Snippets Groups Projects
Commit 0740e543 authored by Yafang Shao's avatar Yafang Shao Committed by Andrew Morton
Browse files

mm, doc: update read_ahead_kb for MADV_HUGEPAGE

MADV_HUGEPAGE is a new addition to readahead with behavior distinct from
normal pages.  To prevent confusion, we should update the documentation
accordingly.

Link: https://lkml.kernel.org/r/20241113150711.1685-1-laoar.shao@gmail.com


Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 669b0cb8
No related branches found
No related tags found
No related merge requests found
...@@ -594,6 +594,9 @@ Description: ...@@ -594,6 +594,9 @@ Description:
[RW] Maximum number of kilobytes to read-ahead for filesystems [RW] Maximum number of kilobytes to read-ahead for filesystems
on this block device. on this block device.
For MADV_HUGEPAGE, the readahead size may exceed this setting
since its granularity is based on the hugepage size.
What: /sys/block/<disk>/queue/rotational What: /sys/block/<disk>/queue/rotational
Date: January 2009 Date: January 2009
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment