Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm
In directory usw-pr-cvs1:/tmp/cvs-serv20152/include/asm-vax/mm
Modified Files:
pagelet_pmd.h
Log Message:
DA: remove clear from pmd_clear .. make it a nop...
reasons given in comment
Index: pagelet_pmd.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm/pagelet_pmd.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pagelet_pmd.h 2001/02/15 01:17:23 1.1
+++ pagelet_pmd.h 2001/06/17 12:34:05 1.2
@@ -40,9 +40,14 @@
extern inline int pmd_bad(pmd_t pmd) { return (pmd_val(pmd) == 0); }
extern inline int pmd_present(pmd_t pmd) { return (pmd_val(pmd) != 0); }
/* This is just zeroing out the base and length registers */
+/* FIXME: or validate code - I removed the zero'ing of the pmd,
+ pmd are parts of pgds, and if we clear the br/lr of the P0 pmd,
+ the zeroth member of pgd, we lose the vmalloc address so can't
+ do vfree. - D.A. June 2001
+*/
extern inline void pmd_clear(pmd_t * pmdp) {
- pmd_val(pmdp[0]) = 0;
- pmd_val(pmdp[1]) = 0;
+ /* pmd_val(pmdp[0]) = 0;
+ pmd_val(pmdp[1]) = 0;*/
}
|