pae/smp fix
PATCH 1/1 pae/smp fix
Hi,
We'll have to make the pmd's writable on release ...
For the UP case the mm_umpin() in _arch_exit_mmap() is good enougth, for SMP it isn't ...
Gerd
xen/i386/mm/pgtable.c renamed from xen/i386/mm/pgtable.c.smp +1 -0
@@ -359,6 +359,7 @@if (PTRS_PER_PMD >1 ) {for (i =0 ; i <USER_PTRS_PER_PGD ; ++i) {pmd_t *pmd = (void *)__va (pgd_val (pgd[i])-1 ); +make_page_writable (pmd);kmem_cache_free (pmd_cache, pmd); }if (!HAVE_SHARED_KERNEL_PMD ) {