patch-2.1.17 linux/mm/mmap.c
Next file: linux/mm/vmalloc.c
Previous file: linux/mm/mlock.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Dec 19 16:46:09 1996
- Orig file:
v2.1.16/linux/mm/mmap.c
- Orig date:
Fri Nov 22 18:28:22 1996
diff -u --recursive --new-file v2.1.16/linux/mm/mmap.c linux/mm/mmap.c
@@ -58,7 +58,7 @@
freepages >>= 1;
freepages += nr_free_pages;
freepages += nr_swap_pages;
- freepages -= max_mapnr >> 4;
+ freepages -= num_physpages >> 4;
return freepages > pages;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov