From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Wu Fengguang <fengguang.wu@intel.com>
Cc: Mel Gorman <mel@csn.ul.ie>, Alex Chiang <achiang@hp.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"Li, Haicheng" <haicheng.li@intel.com>,
Randy Dunlap <randy.dunlap@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
Andi Kleen <andi@firstfloor.org>, Ingo Molnar <mingo@elte.hu>,
Christoph Lameter <cl@linux-foundation.org>,
Rik van Riel <riel@redhat.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Subject: Re: [PATCH] mm: introduce dump_page() and print symbolic flag names
Date: Wed, 16 Dec 2009 23:35:13 +0800 [thread overview]
Message-ID: <20091216153513.GC2804@hack> (raw)
In-Reply-To: <20091216123310.GA17522@localhost>
On Wed, Dec 16, 2009 at 08:33:10PM +0800, Wu Fengguang wrote:
>On Wed, Dec 16, 2009 at 08:26:40PM +0800, Wu Fengguang wrote:
>> - introduce dump_page() to print the page info for debugging some error condition.
>> - convert three mm users: bad_page(), print_bad_pte() and memory offline failure.
>> - print an extra field: the symbolic names of page->flags
>>
>> Example dump_page() output:
>>
>> [ 157.521694] page:ffffea0000a7cba8 count:2 mapcount:1
>> mapping:ffff88001c901791 index:147
> ~~~ this is in fact 0x147
>
>The index value may sometimes be misread as decimal number, shall this
>be fixed by adding a "0x" prefix?
Using '%#x' will do.
Thanks.
>
>> [ 157.525570] page flags: 100000000100068(uptodate|lru|active|swapbacked)
>--
>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/
--
Live like a child, think like the god.
WARNING: multiple messages have this Message-ID (diff)
From: "Américo Wang" <xiyou.wangcong@gmail.com>
To: Wu Fengguang <fengguang.wu@intel.com>
Cc: Mel Gorman <mel@csn.ul.ie>, Alex Chiang <achiang@hp.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"Li, Haicheng" <haicheng.li@intel.com>,
Randy Dunlap <randy.dunlap@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
Andi Kleen <andi@firstfloor.org>, Ingo Molnar <mingo@elte.hu>,
Christoph Lameter <cl@linux-foundation.org>,
Rik van Riel <riel@redhat.com>,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Subject: Re: [PATCH] mm: introduce dump_page() and print symbolic flag names
Date: Wed, 16 Dec 2009 23:35:13 +0800 [thread overview]
Message-ID: <20091216153513.GC2804@hack> (raw)
In-Reply-To: <20091216123310.GA17522@localhost>
On Wed, Dec 16, 2009 at 08:33:10PM +0800, Wu Fengguang wrote:
>On Wed, Dec 16, 2009 at 08:26:40PM +0800, Wu Fengguang wrote:
>> - introduce dump_page() to print the page info for debugging some error condition.
>> - convert three mm users: bad_page(), print_bad_pte() and memory offline failure.
>> - print an extra field: the symbolic names of page->flags
>>
>> Example dump_page() output:
>>
>> [ 157.521694] page:ffffea0000a7cba8 count:2 mapcount:1
>> mapping:ffff88001c901791 index:147
> ~~~ this is in fact 0x147
>
>The index value may sometimes be misread as decimal number, shall this
>be fixed by adding a "0x" prefix?
Using '%#x' will do.
Thanks.
>
>> [ 157.525570] page flags: 100000000100068(uptodate|lru|active|swapbacked)
>--
>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/
--
Live like a child, think like the god.
--
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>
next prev parent reply other threads:[~2009-12-16 15:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 12:26 [PATCH] mm: introduce dump_page() and print symbolic flag names Wu Fengguang
2009-12-16 12:26 ` Wu Fengguang
2009-12-16 12:33 ` Wu Fengguang
2009-12-16 12:33 ` Wu Fengguang
2009-12-16 15:35 ` Américo Wang [this message]
2009-12-16 15:35 ` Américo Wang
2009-12-18 1:23 ` [PATCH v2] " Wu Fengguang
2009-12-18 1:23 ` Wu Fengguang
2009-12-18 1:35 ` KOSAKI Motohiro
2009-12-18 1:35 ` KOSAKI Motohiro
2009-12-18 2:11 ` [PATCH v3] " Wu Fengguang
2009-12-18 2:11 ` Wu Fengguang
2009-12-18 2:27 ` Wu Fengguang
2009-12-18 2:27 ` Wu Fengguang
2009-12-16 15:28 ` [PATCH] " Américo Wang
2009-12-16 15:28 ` Américo Wang
2009-12-17 0:34 ` KOSAKI Motohiro
2009-12-17 0:34 ` KOSAKI Motohiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091216153513.GC2804@hack \
--to=xiyou.wangcong@gmail.com \
--cc=achiang@hp.com \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=cl@linux-foundation.org \
--cc=fengguang.wu@intel.com \
--cc=haicheng.li@intel.com \
--cc=kosaki.motohiro@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mel@csn.ul.ie \
--cc=mingo@elte.hu \
--cc=randy.dunlap@oracle.com \
--cc=riel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.