diff options
author | Fengguang Wu <wfg@mail.ustc.edu.cn> | 2007-10-16 01:24:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 09:42:52 -0700 |
commit | 535443f51543df61111bbd234300ae549d220448 (patch) | |
tree | e9b022969776132b9fd3bde351673edc006a1bac /include | |
parent | 7ff81078d8b9f3d05a27b7bd3786ffb1ef1b0d1f (diff) | |
download | kernel_samsung_aries-535443f51543df61111bbd234300ae549d220448.zip kernel_samsung_aries-535443f51543df61111bbd234300ae549d220448.tar.gz kernel_samsung_aries-535443f51543df61111bbd234300ae549d220448.tar.bz2 |
readahead: remove several readahead macros
Remove VM_MAX_CACHE_HIT, MAX_RA_PAGES and MIN_RA_PAGES.
Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index fbff8e4..291c4cc 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -1106,8 +1106,6 @@ int write_one_page(struct page *page, int wait); /* readahead.c */ #define VM_MAX_READAHEAD 128 /* kbytes */ #define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */ -#define VM_MAX_CACHE_HIT 256 /* max pages in a row in cache before - * turning readahead off */ int do_page_cache_readahead(struct address_space *mapping, struct file *filp, pgoff_t offset, unsigned long nr_to_read); |