New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8]
Subsystems (2)
PATCH 1/1 New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8]
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.
include/linux/page-flags.h +1 -1
@@ -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
Signature · 8 lines
Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 2 lines
This patch is change PageHighMem()'s definition for i386. Easy reclaim zone is treated like highmem on i386.
This doesn't look like an i386 file, it looks like you are changing it for all architectures that have HIGHMEM (do any other archs use highmeme?). This may be fine, just wanted you to be aware.
Quoted 11 lines
This is new patch at take 4.
Signed-off-by Yasunori Goto <[email protected]>Index:
zone_reclaim/include/linux/page-flags.h
===================================================================
include/linux/page-flags.h extern void __mod_page_state_offset(unsi · line 271
Quoted 8 lines
include/linux/page-flags.h +1
-1@@ -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
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 6 lines
Quoted 2 lines
This patch is change PageHighMem()'s definition for i386. Easy reclaim zone is treated like highmem on i386.
This doesn't look like an i386 file, it looks like you are changing it for all architectures that have HIGHMEM (do any other archs use highmeme?). This may be fine, just wanted you to be aware.
Right. My description was wrong. This is for all arch.
The first purpose of his patch is to give i386 environment for Kame-san's remove patch. This description came from it.
Sorry.
Quoted 22 lines
Quoted 20 lines
This is new patch at take 4.
Signed-off-by Yasunori Goto <[email protected]>Index:
zone_reclaim/include/linux/page-flags.h
===================================================================include/linux/page-flags.h +1
-1@@ -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
Signature · 8 lines
Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>