| Kernel v2.4.14-pre8 /mm/mmap.c |
|---|
 2.4.14-pre8
 mm
 mmap.c
diff -u --recursive --new-file v2.4.13/linux/mm/mmap.c linux/mm/mmap.c
--- v2.4.13/linux/mm/mmap.c Tue Oct 9 17:06:53 2001
+++ linux/mm/mmap.c Sat Oct 27 00:02:54 2001
@@ -73,14 +73,6 @@
free += nr_swap_pages;
/*
- * This double-counts: the nrpages are both in the page-cache
- * and in the swapper space. At the same time, this compensates
- * for the swap-space over-allocation (ie "nr_swap_pages" being
- * too small.
- */
- free += swapper_space.nrpages;
-
- /*
* The code below doesn't account for free space in the inode
* and dentry slab cache, slab cache fragmentation, inodes and
* dentries which will become freeable under VM load, etc.
|