diff options
author | Fengguang Wu <wfg@mail.ustc.edu.cn> | 2007-07-19 01:47:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:43 -0700 |
commit | f615bfca468c9b80ed2d09be5fdbaf470a32c045 (patch) | |
tree | 4771fd91ae020efaafbe653ad78ba5e32d56e8a3 /Documentation/sgi-visws.txt | |
parent | 46fc3e7b4e7233a0ac981ac9084b55217318d04d (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 <wfg@mail.ustc.edu.cn>
Cc: Steven Pratt <slpratt@austin.ibm.com>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/sgi-visws.txt')
0 files changed, 0 insertions, 0 deletions