aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Guendhoer <stefan@guendhoer.com>2016-01-07 21:42:49 +0000
committerMoyster <oysterized@gmail.com>2016-08-26 20:20:11 +0200
commitd66da22dff62fd8f0666ded43012ba135e909914 (patch)
tree95bff74158a6f9bf483977bb23d6d30a3f4f46c7 /include
parent6a82822e4288e398c2bd4027ae787a1ee0dd3570 (diff)
mm: reduce readahead from 1024kB to 512kB
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 300bf2d56..7a7dc568c 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1605,7 +1605,7 @@ int write_one_page(struct page *page, int wait);
void task_dirty_inc(struct task_struct *tsk);
/* readahead.c */
-#define VM_MAX_READAHEAD 128 /* kbytes */
+#define VM_MAX_READAHEAD 512 /* kbytes */
#define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */
int force_page_cache_readahead(struct address_space *mapping, struct file *filp,