patch-1.3.94 linux/mm/filemap.c

Next file: linux/mm/memory.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.93/linux/mm/filemap.c linux/mm/filemap.c
@@ -424,8 +424,8 @@
  *   We try to have a limit of MAX_READWINDOW = 48K.
  */
 
-#define MAX_READWINDOW (PAGE_SIZE*12)
-#define MAX_READAHEAD (PAGE_SIZE*7)
+#define MAX_READWINDOW (PAGE_SIZE*32)
+#define MAX_READAHEAD (PAGE_SIZE*16)
 #define MIN_READAHEAD (PAGE_SIZE)
 
 static inline unsigned long generic_file_readahead(struct file * filp, struct inode * inode,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this