Index: linux-2.6.18-rc3-mm2/include/linux/gfp.h =================================================================== --- linux-2.6.18-rc3-mm2.orig/include/linux/gfp.h 2006-08-08 09:20:41.727897528 -0700 +++ linux-2.6.18-rc3-mm2/include/linux/gfp.h 2006-08-09 18:40:35.417771186 -0700 @@ -67,6 +67,8 @@ struct vm_area_struct; #define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL | \ __GFP_HIGHMEM) +#define GFP_THISNODE (__GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY) + /* Flag - indicates that the buffer will be suitable for DMA. Ignored on some platforms, used as appropriate on others */ Index: linux-2.6.18-rc3-mm2/mm/migrate.c =================================================================== --- linux-2.6.18-rc3-mm2.orig/mm/migrate.c 2006-08-08 09:25:41.388119893 -0700 +++ linux-2.6.18-rc3-mm2/mm/migrate.c 2006-08-09 18:40:35.418747688 -0700 @@ -745,9 +745,7 @@ static struct page *new_page_node(struct *result = &pm->status; - return alloc_pages_node(pm->node, - GFP_HIGHUSER | __GFP_THISNODE | __GFP_NOWARN | __GFP_NORETRY, - 0); + return alloc_pages_node(pm->node, GFP_HIGHUSER | GFP_THISNODE, 0); } /* Index: linux-2.6.18-rc3-mm2/arch/ia64/kernel/uncached.c =================================================================== --- linux-2.6.18-rc3-mm2.orig/arch/ia64/kernel/uncached.c 2006-08-09 18:40:32.653293682 -0700 +++ linux-2.6.18-rc3-mm2/arch/ia64/kernel/uncached.c 2006-08-09 18:41:04.237278284 -0700 @@ -98,8 +98,7 @@ static int uncached_add_chunk(struct unc /* attempt to allocate a granule's worth of cached memory pages */ - page = alloc_pages_node(nid, GFP_KERNEL | __GFP_ZERO | - __GFP_THISNODE | __GFP_NORETRY | __GFP_NOWARN, + page = alloc_pages_node(nid, GFP_KERNEL | __GFP_ZERO | GFP_THISNODE, IA64_GRANULE_SHIFT-PAGE_SHIFT); if (!page) { mutex_unlock(&uc_pool->add_chunk_mutex);