Skip to content

Commit 0740e54

Browse files
laoarakpm00
authored andcommitted
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/[email protected] Signed-off-by: Yafang Shao <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 669b0cb commit 0740e54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/ABI/stable/sysfs-block

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,9 @@ Description:
594594
[RW] Maximum number of kilobytes to read-ahead for filesystems
595595
on this block device.
596596

597+
For MADV_HUGEPAGE, the readahead size may exceed this setting
598+
since its granularity is based on the hugepage size.
599+
597600

598601
What: /sys/block/<disk>/queue/rotational
599602
Date: January 2009

0 commit comments

Comments
 (0)