patch-2.3.27 linux/mm/mmap.c
Next file: linux/mm/page_alloc.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Nov 10 09:13:07 1999
- Orig file:
v2.3.26/linux/mm/mmap.c
- Orig date:
Mon Nov 1 13:56:27 1999
diff -u --recursive --new-file v2.3.26/linux/mm/mmap.c linux/mm/mmap.c
@@ -64,7 +64,7 @@
free = atomic_read(&buffermem_pages);
free += atomic_read(&page_cache_size);
- free += nr_free_pages;
+ free += nr_free_pages();
free += nr_swap_pages;
return free > pages;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)