Dan Aloni wrote: > On Tue, Jul 30, 2002 at 09:45:17PM -0400, Brian Gerst wrote: > >>The recent changes to the x86 page table init reintroduced a bug with >>the 4k pagetables. The page table must be filled with entries before it >>is inserted into the pmd or else you risk a tlb miss on a kernel code >>page causing an oops. This patch takes a different approach than before >>- it allows for reuse of the boot pagetable pages instead of allocating >>new ones. > > > In the patch below, isn't there a bootmem page leak in case !pmd_none(*pmd)? Whoops. That's what happens when one needs to recreate a patch from memory. Revised patch attached. -- Brian Gerst