On Tue, Mar 03, 2009 at 01:36:10PM -0800, Andrew Morton wrote: > Alternatively, we could just not do the kmap_atomic() at all. i386 > won't be using this code and IIRC the only other highmem architecture > is powerpc32, and ppc32 appears to also have its own DEBUG_PAGEALLOC > implementation. So you could remove the kmap_atomic() stuff and put > > #ifdef CONFIG_HIGHMEM > #error i goofed > #endif > > in there. I'll take the variant of this. Then poison_page() will be static void poison_page(struct page *page) { void *addr; if (PageHighmem(page)) return; // i goofed page->poison = true; addr = page_address(page); memset(addr, PAGE_POISON, PAGE_SIZE); } -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html