From: Wu Fengguang <fengguang.wu@intel.com>
To: Mel Gorman <mel@csn.ul.ie>
Cc: 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 20:33:10 +0800 [thread overview]
Message-ID: <20091216123310.GA17522@localhost> (raw)
In-Reply-To: <20091216122640.GA13817@localhost>
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?
> [ 157.525570] page flags: 100000000100068(uptodate|lru|active|swapbacked)
--
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 12:34 UTC|newest]
Thread overview: 9+ 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:33 ` Wu Fengguang [this message]
2009-12-16 15:35 ` Américo Wang
2009-12-18 1:23 ` [PATCH v2] " Wu Fengguang
2009-12-18 1:35 ` KOSAKI Motohiro
2009-12-18 2:11 ` [PATCH v3] " Wu Fengguang
2009-12-18 2:27 ` Wu Fengguang
2009-12-16 15:28 ` [PATCH] " Américo Wang
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=20091216123310.GA17522@localhost \
--to=fengguang.wu@intel.com \
--cc=achiang@hp.com \
--cc=akpm@linux-foundation.org \
--cc=andi@firstfloor.org \
--cc=cl@linux-foundation.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).