patch-2.2.8 linux/ipc/shm.c
Next file: linux/kernel/exit.c
Previous file: linux/init/main.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Tue May  4 16:58:15 1999
-  Orig file: 
v2.2.7/linux/ipc/shm.c
-  Orig date: 
Wed Apr 28 11:37:32 1999
diff -u --recursive --new-file v2.2.7/linux/ipc/shm.c linux/ipc/shm.c
@@ -634,7 +634,7 @@
 
 	pte = __pte(shp->shm_pages[idx]);
 	if (!pte_present(pte)) {
-		unsigned long page = get_free_page(GFP_KERNEL);
+		unsigned long page = get_free_page(GFP_USER);
 		if (!page) {
 			oom(current);
 			return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)