patch-2.1.38 linux/include/linux/mm.h
Next file: linux/include/linux/sched.h
Previous file: linux/include/linux/malloc.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu May 15 15:52:10 1997
- Orig file:
v2.1.37/linux/include/linux/mm.h
- Orig date:
Tue May 13 22:41:19 1997
diff -u --recursive --new-file v2.1.37/linux/include/linux/mm.h linux/include/linux/mm.h
@@ -137,6 +137,7 @@
#define PG_decr_after 5
#define PG_swap_unlock_after 6
#define PG_DMA 7
+#define PG_Slab 8
#define PG_reserved 31
/* Make it prettier to test the above... */
@@ -149,8 +150,12 @@
#define PageDecrAfter(page) (test_bit(PG_decr_after, &(page)->flags))
#define PageSwapUnlockAfter(page) (test_bit(PG_swap_unlock_after, &(page)->flags))
#define PageDMA(page) (test_bit(PG_DMA, &(page)->flags))
+#define PageSlab(page) (test_bit(PG_Slab, &(page)->flags))
#define PageReserved(page) (test_bit(PG_reserved, &(page)->flags))
+#define PageSetSlab(page) (set_bit(PG_Slab, &(page)->flags))
+#define PageClearSlab(page) (clear_bit(PG_Slab, &(page)->flags))
+
/*
* page->reserved denotes a page which must never be accessed (which
* may not even be present).
@@ -260,7 +265,7 @@
extern int zeromap_page_range(unsigned long from, unsigned long size, pgprot_t prot);
extern void vmtruncate(struct inode * inode, unsigned long offset);
-extern void handle_mm_fault(struct vm_area_struct *vma, unsigned long address, int write_access);
+extern void handle_mm_fault(struct task_struct *tsk,struct vm_area_struct *vma, unsigned long address, int write_access);
extern unsigned long paging_init(unsigned long start_mem, unsigned long end_mem);
extern void mem_init(unsigned long start_mem, unsigned long end_mem);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov