lkml.org 
[lkml]   [2009]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pagemap: document KPF_KSM and show it in page-types
* Wu Fengguang (fengguang.wu@intel.com) wrote:
> It indicates to the system admin that processes mapping such pages may be
> eating less physical memory than the reported numbers by legacy tools.
>
> CC: Hugh Dickins <hugh.dickins@tiscali.co.uk>
> CC: Chris Wright <chrisw@redhat.com>
> CC: Izik Eidus <ieidus@redhat.com>
> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>

Acked-by: Chris Wright <chrisw@redhat.com>

> --- linux-mm.orig/tools/vm/page-types.c 2009-08-31 15:00:24.000000000 +0800
> +++ linux-mm/tools/vm/page-types.c 2009-08-31 15:02:10.000000000 +0800
> @@ -49,6 +49,7 @@
> #define KPF_UNEVICTABLE 18
> #define KPF_HWPOISON 19
> #define KPF_NOPAGE 20
> +#define KPF_KSM 21

Doesn't this highlight the trouble w/ maintaining two copies of same info?

thanks,
-chris


\
 
 \ /
  Last update: 2009-08-31 18:45    [W:0.054 / U:2.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site