patch-2.1.75 linux/mm/filemap.c
Next file: linux/net/Config.in
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Dec 21 17:14:45 1997
- Orig file:
v2.1.74/linux/mm/filemap.c
- Orig date:
Tue Dec 2 09:49:40 1997
diff -u --recursive --new-file v2.1.74/linux/mm/filemap.c linux/mm/filemap.c
@@ -436,16 +436,6 @@
* 64k if defined (4K page size assumed).
*/
-#define PageAlignSize(size) (((size) + PAGE_SIZE -1) & PAGE_MASK)
-
-#if 0 /* small readahead */
-#define MAX_READAHEAD PageAlignSize(4096*7)
-#define MIN_READAHEAD PageAlignSize(4096*2)
-#else /* large readahead */
-#define MAX_READAHEAD PageAlignSize(4096*18)
-#define MIN_READAHEAD PageAlignSize(4096*3)
-#endif
-
static inline int get_max_readahead(struct inode * inode)
{
if (!inode->i_dev || !max_readahead[MAJOR(inode->i_dev)])
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov