patch-2.1.113 linux/mm/memory.c

Next file: linux/mm/swap_state.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.112/linux/mm/memory.c linux/mm/memory.c
@@ -955,14 +955,14 @@
 
 void check_pgt_cache(void)
 {
-        if(pgtable_cache_size > pgt_cache_water[0]) {
-                do {
-                        if(pgd_quicklist)
-                                free_pgd_slow(get_pgd_fast());
-                        if(pmd_quicklist)
-                                free_pmd_slow(get_pmd_fast());
-                        if(pte_quicklist)
-                                free_pte_slow(get_pte_fast());
-                } while(pgtable_cache_size > pgt_cache_water[1]);
-        }
+	if (pgtable_cache_size > pgt_cache_water[1]) {
+		do {
+			if (pgd_quicklist)
+				free_pgd_slow(get_pgd_fast());
+			if (pmd_quicklist)
+				free_pmd_slow(get_pmd_fast());
+			if (pte_quicklist)
+				free_pte_slow(get_pte_fast());
+		} while (pgtable_cache_size > pgt_cache_water[0]);
+	}
 }

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]