Re: [PATCH 3/4] pagemap: export KPF_THP

From: Andrew Morton
Date: Wed Jan 04 2012 - 18:55:26 EST


On Wed, 21 Dec 2011 17:23:47 -0500
Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> wrote:

> This flag shows that a given pages is a subpage of transparent hugepage.
> It helps us debug and test kernel by showing physical address of thp.
>
> ...
>
> --- 3.2-rc5.orig/include/linux/kernel-page-flags.h
> +++ 3.2-rc5/include/linux/kernel-page-flags.h
> @@ -30,6 +30,7 @@
> #define KPF_NOPAGE 20
>
> #define KPF_KSM 21
> +#define KPF_THP 22
>

Please also update and test Documentation/vm/page-types.c.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/