patch-2.3.49 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

diff -u --recursive --new-file v2.3.48/linux/mm/mmap.c linux/mm/mmap.c
@@ -860,7 +860,7 @@
 	if (mm->map_count)
 		printk("exit_mmap: map count is %d\n", mm->map_count);
 
-	clear_page_tables(mm, 0, USER_PTRS_PER_PGD);
+	clear_page_tables(mm, FIRST_USER_PGD_NR, USER_PTRS_PER_PGD);
 }
 
 /* Insert vm structure into process list sorted by address

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