Revert "mm: change max readahead size to 512KB"
This reverts commit 25d04e4ceb.
It was proven that 512KB brings huge memory pressure.
Change-Id: Id6a2003a00071c4992cc9e4b1c268ac4698af06e
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
@@ -2570,7 +2570,7 @@ int __must_check write_one_page(struct page *page);
|
||||
void task_dirty_inc(struct task_struct *tsk);
|
||||
|
||||
/* readahead.c */
|
||||
#define VM_MAX_READAHEAD 512 /* kbytes */
|
||||
#define VM_MAX_READAHEAD 128 /* kbytes */
|
||||
#define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */
|
||||
|
||||
int force_page_cache_readahead(struct address_space *mapping, struct file *filp,
|
||||
|
||||
Reference in New Issue
Block a user