patch-2.0.21-2.1.0 linux/mm/mmap.c
Next file: linux/mm/page_alloc.c
Previous file: linux/mm/mlock.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 23 14:38:29 1996
- Orig file:
lx2.0/v2.0.21/linux/mm/mmap.c
- Orig date:
Wed Sep 11 17:57:19 1996
diff -u --recursive --new-file lx2.0/v2.0.21/linux/mm/mmap.c linux/mm/mmap.c
@@ -58,7 +58,7 @@
freepages >>= 1;
freepages += nr_free_pages;
freepages += nr_swap_pages;
- freepages -= MAP_NR(high_memory) >> 4;
+ freepages -= max_mapnr >> 4;
return freepages > pages;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov