lkml.org 
[lkml]   [2006]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] 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 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-03 22:43    [W:0.043 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site