linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] tools/vm/page-types.c: support KPF_IDLE
@ 2015-11-10  8:50 Naoya Horiguchi
  2015-11-10  9:02 ` Vladimir Davydov
  0 siblings, 1 reply; 2+ messages in thread
From: Naoya Horiguchi @ 2015-11-10  8:50 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Vladimir Davydov, linux-mm, linux-kernel, Naoya Horiguchi,
	Naoya Horiguchi

PageIdle is exported in include/uapi/linux/kernel-page-flags.h, so let's
make page-types.c tool handle it.

Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
---
 tools/vm/page-types.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git mmotm-2015-10-21-14-41/tools/vm/page-types.c mmotm-2015-10-21-14-41_patched/tools/vm/page-types.c
index 7f73fa3..d70de63 100644
--- mmotm-2015-10-21-14-41/tools/vm/page-types.c
+++ mmotm-2015-10-21-14-41_patched/tools/vm/page-types.c
@@ -128,6 +128,7 @@ static const char * const page_flag_names[] = {
 	[KPF_THP]		= "t:thp",
 	[KPF_BALLOON]		= "o:balloon",
 	[KPF_ZERO_PAGE]		= "z:zero_page",
+	[KPF_IDLE]              = "i:idle_page",
 
 	[KPF_RESERVED]		= "r:reserved",
 	[KPF_MLOCKED]		= "m:mlocked",
-- 
1.7.1

--
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>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] tools/vm/page-types.c: support KPF_IDLE
  2015-11-10  8:50 [PATCH v1] tools/vm/page-types.c: support KPF_IDLE Naoya Horiguchi
@ 2015-11-10  9:02 ` Vladimir Davydov
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Davydov @ 2015-11-10  9:02 UTC (permalink / raw)
  To: Naoya Horiguchi; +Cc: Andrew Morton, linux-mm, linux-kernel, Naoya Horiguchi

On Tue, Nov 10, 2015 at 05:50:04PM +0900, Naoya Horiguchi wrote:
> PageIdle is exported in include/uapi/linux/kernel-page-flags.h, so let's
> make page-types.c tool handle it.
> 
> Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>

Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com>

--
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-10  9:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10  8:50 [PATCH v1] tools/vm/page-types.c: support KPF_IDLE Naoya Horiguchi
2015-11-10  9:02 ` Vladimir Davydov

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).