aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm26
diff options
context:
space:
mode:
authorFengguang Wu <wfg@mail.ustc.edu.cn>2007-07-19 01:47:58 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-09 14:27:39 -0700
commit608fe2dd0715bc40d43e9b0c0fb7343e4fd7d719 (patch)
tree59624efc2e9225df024dda1fcbee342b57ec89fa /include/asm-arm26
parent38148d7300c4352c9b47f66a2ec3b7269df39ff9 (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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-arm26')
0 files changed, 0 insertions, 0 deletions