* [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8]
@ 2005-12-20 8:53 Yasunori Goto
2006-01-03 21:40 ` Joel Schopp
0 siblings, 1 reply; 3+ messages in thread
From: Yasunori Goto @ 2005-12-20 8:53 UTC (permalink / raw)
To: Linux Kernel ML, linux-mm, Linux Hotplug Memory Support; +Cc: Joel Schopp
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 <y-goto@jp.fujitsu.com>
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8]
2005-12-20 8:53 [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8] Yasunori Goto
@ 2006-01-03 21:40 ` Joel Schopp
2006-01-05 5:54 ` Yasunori Goto
0 siblings, 1 reply; 3+ messages in thread
From: Joel Schopp @ 2006-01-03 21:40 UTC (permalink / raw)
To: Yasunori Goto; +Cc: Linux Kernel ML, linux-mm, Linux Hotplug Memory Support
> 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.
>
> This is new patch at take 4.
>
> Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
>
> 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
>
--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8]
2006-01-03 21:40 ` Joel Schopp
@ 2006-01-05 5:54 ` Yasunori Goto
0 siblings, 0 replies; 3+ messages in thread
From: Yasunori Goto @ 2006-01-05 5:54 UTC (permalink / raw)
To: jschopp; +Cc: Linux Kernel ML, linux-mm, Linux Hotplug Memory Support
> > 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.
>
> >
> > This is new patch at take 4.
> >
> > Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
> >
> > 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-01-05 5:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-20 8:53 [Patch] New zone ZONE_EASY_RECLAIM take 4. (Change PageHighMem())[8/8] Yasunori Goto
2006-01-03 21:40 ` Joel Schopp
2006-01-05 5:54 ` Yasunori Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox