From: Dave A. <ai...@us...> - 2002-04-13 16:20:15
|
Update of /cvsroot/linux-vax/kernel-2.4/include/linux In directory usw-pr-cvs1:/tmp/cvs-serv864/include/linux Modified Files: blkdev.h fs.h mm.h sysctl.h Log Message: DA: 2.4.16 import should have no affect on VAX port apart Index: blkdev.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/linux/blkdev.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- blkdev.h 9 Apr 2002 12:44:16 -0000 1.2 +++ blkdev.h 13 Apr 2002 16:20:10 -0000 1.3 @@ -180,10 +180,6 @@ #define PageAlignSize(size) (((size) + PAGE_SIZE -1) & PAGE_MASK) -/* read-ahead in pages.. */ -#define MAX_READAHEAD 31 -#define MIN_READAHEAD 3 - #define blkdev_entry_to_request(entry) list_entry((entry), struct request, queue) #define blkdev_entry_next_request(entry) blkdev_entry_to_request((entry)->next) #define blkdev_entry_prev_request(entry) blkdev_entry_to_request((entry)->prev) Index: fs.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/linux/fs.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- fs.h 9 Apr 2002 12:44:16 -0000 1.2 +++ fs.h 13 Apr 2002 16:20:10 -0000 1.3 @@ -110,6 +110,7 @@ #define MS_BIND 4096 #define MS_REC 16384 #define MS_VERBOSE 32768 +#define MS_ACTIVE (1<<30) #define MS_NOUSER (1<<31) /* Index: mm.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/linux/mm.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- mm.h 9 Apr 2002 12:44:16 -0000 1.2 +++ mm.h 13 Apr 2002 16:20:11 -0000 1.3 @@ -111,6 +111,10 @@ #define VM_SequentialReadHint(v) ((v)->vm_flags & VM_SEQ_READ) #define VM_RandomReadHint(v) ((v)->vm_flags & VM_RAND_READ) +/* read ahead limits */ +extern int vm_min_readahead; +extern int vm_max_readahead; + /* * mapping from the currently active vm_flags protection bits (the * low four bits) to a page protection mask.. Index: sysctl.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/linux/sysctl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sysctl.h 9 Apr 2002 12:44:17 -0000 1.2 +++ sysctl.h 13 Apr 2002 16:20:11 -0000 1.3 @@ -139,7 +139,9 @@ VM_PAGECACHE=7, /* struct: Set cache memory thresholds */ VM_PAGERDAEMON=8, /* struct: Control kswapd behaviour */ VM_PGT_CACHE=9, /* struct: Set page table cache parameters */ - VM_PAGE_CLUSTER=10 /* int: set number of pages to swap together */ + VM_PAGE_CLUSTER=10, /* int: set number of pages to swap together */ + VM_MIN_READAHEAD=12, /* Min file readahead */ + VM_MAX_READAHEAD=13 /* Max file readahead */ }; |