patch-2.3.27 linux/mm/vmscan.c

Next file: linux/net/core/dev.c
Previous file: linux/mm/vmalloc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -503,7 +503,7 @@
 		do {
 			/* kswapd is critical to provide GFP_ATOMIC
 			   allocations (not GFP_HIGHMEM ones). */
-			if (nr_free_pages - nr_free_highpages >= freepages.high)
+			if (nr_free_buffer_pages() >= freepages.high)
 				break;
 
 			if (!do_try_to_free_pages(GFP_KSWAPD))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)