aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFengguang Wu <[email protected]>2007-07-19 01:47:58 -0700
committerLinus Torvalds <[email protected]>2007-07-19 10:04:43 -0700
commitf615bfca468c9b80ed2d09be5fdbaf470a32c045 (patch)
tree4771fd91ae020efaafbe653ad78ba5e32d56e8a3 /include
parent46fc3e7b4e7233a0ac981ac9084b55217318d04d (diff)
readahead: MIN_RA_PAGES/MAX_RA_PAGES macros
Define two convenient macros for read-ahead: - MAX_RA_PAGES: rounded down counterpart of VM_MAX_READAHEAD - MIN_RA_PAGES: rounded _up_ counterpart of VM_MIN_READAHEAD Note that the rounded up MIN_RA_PAGES will work flawlessly with _large_ page sizes like 64k. Signed-off-by: Fengguang Wu <[email protected]> Cc: Steven Pratt <[email protected]> Cc: Ram Pai <[email protected]> Cc: Rusty Russell <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions