patch-2.0.21-2.1.0 linux/mm/vmscan.c

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

diff -u --recursive --new-file lx2.0/v2.0.21/linux/mm/vmscan.c linux/mm/vmscan.c
@@ -79,7 +79,7 @@
 	if (!pte_present(pte))
 		return 0;
 	page = pte_page(pte);
-	if (MAP_NR(page) >= MAP_NR(high_memory))
+	if (MAP_NR(page) >= max_mapnr)
 		return 0;
 
 	page_map = mem_map + MAP_NR(page);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov