patch-2.0.31 linux/include/linux/pagemap.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/net_alias.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Oct 15 15:22:08 1997
- Orig file:
v2.0.30/linux/include/linux/pagemap.h
- Orig date:
Fri Mar 28 16:08:17 1997
diff -u --recursive --new-file v2.0.30/linux/include/linux/pagemap.h linux/include/linux/pagemap.h
@@ -11,6 +11,7 @@
#include <linux/mm.h>
#include <linux/fs.h>
+#include <linux/swapctl.h>
static inline unsigned long page_address(struct page * page)
{
@@ -20,7 +21,7 @@
#define PAGE_HASH_BITS 11
#define PAGE_HASH_SIZE (1 << PAGE_HASH_BITS)
-#define PAGE_AGE_VALUE 16
+#define PAGE_AGE_VALUE ((PAGE_INITIAL_AGE)+(PAGE_ADVANCE))
extern unsigned long page_cache_size; /* # of pages currently in the hash table */
extern struct page * page_hash_table[PAGE_HASH_SIZE];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov