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

Next file: linux/mm/swapfile.c
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -135,7 +135,7 @@
 {
 	unsigned long map_nr = MAP_NR(addr);
 
-	if (map_nr < MAP_NR(high_memory)) {
+	if (map_nr < max_mapnr) {
 		mem_map_t * map = mem_map + map_nr;
 		if (PageReserved(map))
 			return;

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