patch-2.4.23 linux-2.4.23/arch/arm/mm/mm-armv.c

Next file: linux-2.4.23/arch/cris/config.in
Previous file: linux-2.4.23/arch/arm/mm/mm-armo.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/arm/mm/mm-armv.c linux-2.4.23/arch/arm/mm/mm-armv.c
@@ -123,6 +123,7 @@
 no_pte:
 	spin_unlock(&mm->page_table_lock);
 	pmd_free(new_pmd);
+	check_pgt_cache();
 	free_pages((unsigned long)new_pgd, 2);
 	return NULL;
 
@@ -157,6 +158,7 @@
 	pmd_clear(pmd);
 	pte_free(pte);
 	pmd_free(pmd);
+	check_pgt_cache();
 free:
 	free_pages((unsigned long) pgd, 2);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)