
Keep the kernel from allocating any non-freeable structures
in high memory.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
---

 memhotplug-dave/fs/pipe.c    |    2 +-
 memhotplug-dave/mm/vmalloc.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/pipe.c~Y5-restrict-allocations fs/pipe.c
--- memhotplug/fs/pipe.c~Y5-restrict-allocations	2005-04-13 14:21:20.000000000 -0700
+++ memhotplug-dave/fs/pipe.c	2005-04-13 14:21:20.000000000 -0700
@@ -280,7 +280,7 @@ pipe_writev(struct file *filp, const str
 			int error;
 
 			if (!page) {
-				page = alloc_page(GFP_HIGHUSER);
+				page = alloc_page(GFP_USER);
 				if (unlikely(!page)) {
 					ret = ret ? : -ENOMEM;
 					break;
diff -puN mm/vmalloc.c~Y5-restrict-allocations mm/vmalloc.c
--- memhotplug/mm/vmalloc.c~Y5-restrict-allocations	2005-04-13 14:21:20.000000000 -0700
+++ memhotplug-dave/mm/vmalloc.c	2005-04-13 14:21:20.000000000 -0700
@@ -470,7 +470,7 @@ EXPORT_SYMBOL(__vmalloc);
  */
 void *vmalloc(unsigned long size)
 {
-       return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL);
+       return __vmalloc(size, GFP_KERNEL, PAGE_KERNEL);
 }
 
 EXPORT_SYMBOL(vmalloc);
_
