[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090507114016.40ee6577.minchan.kim@barrios-desktop>
Date: Thu, 7 May 2009 11:40:16 +0900
From: Minchan Kim <minchan.kim@...il.com>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Andi Kleen <andi@...stfloor.org>,
Matt Mackall <mpm@...enic.com>,
Alexey Dobriyan <adobriyan@...il.com>, <linux-mm@...ck.org>
Subject: Re: [PATCH 4/7] proc: export more page flags in /proc/kpageflags
On Thu, 07 May 2009 09:21:21 +0800
Wu Fengguang <fengguang.wu@...el.com> wrote:
> + * pseudo flags for the well known (anonymous) memory mapped pages
> + */
> + if (!PageSlab(page) && page_mapped(page))
> + u |= 1 << KPF_MMAP;
> + if (PageAnon(page))
> + u |= 1 << KPF_ANON;
Why do you check PageSlab on user pages ?
Is there any case that PageSlab == true && page_mapped == true ?
--
Kinds Regards
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists