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
- Lines: 25
- Date:
Fri Jul 31 12:47:59 1998
- Orig file:
v2.1.112/linux/mm/memory.c
- Orig date:
Tue Jul 28 14:21:10 1998
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, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov