From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 20 Dec 2005 17:53:39 +0900 From: Yasunori Goto Subject: [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8] Message-Id: <20051220173217.1B18.Y-GOTO@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Linux Kernel ML , linux-mm , Linux Hotplug Memory Support Cc: Joel Schopp List-ID: This patch is change PageHighMem()'s definition for i386. Easy reclaim zone is treated like highmem on i386. This is new patch at take 4. Signed-off-by: Yasunori Goto Index: zone_reclaim/include/linux/page-flags.h =================================================================== --- zone_reclaim.orig/include/linux/page-flags.h 2005-12-15 21:01:09.000000000 +0900 +++ zone_reclaim/include/linux/page-flags.h 2005-12-15 21:24:07.000000000 +0900 @@ -265,7 +265,7 @@ extern void __mod_page_state_offset(unsi #define TestSetPageSlab(page) test_and_set_bit(PG_slab, &(page)->flags) #ifdef CONFIG_HIGHMEM -#define PageHighMem(page) is_highmem(page_zone(page)) +#define PageHighMem(page) is_higher_zone(page_zone(page)) #else #define PageHighMem(page) 0 /* needed to optimize away at compile time */ #endif -- Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org