Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266335 > unrolled thread

[PATCH v1] tools/vm/page-types.c: support KPF_IDLE

Started byNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
First post2015-11-10 10:00 +0100
Last post2015-11-10 10:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v1] tools/vm/page-types.c: support KPF_IDLE Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-11-10 10:00 +0100
    Re: [PATCH v1] tools/vm/page-types.c: support KPF_IDLE Vladimir Davydov <vdavydov@virtuozzo.com> - 2015-11-10 10:10 +0100

#1266335 — [PATCH v1] tools/vm/page-types.c: support KPF_IDLE

FromNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Date2015-11-10 10:00 +0100
Subject[PATCH v1] tools/vm/page-types.c: support KPF_IDLE
Message-ID<qtcWt-2M4-9@gated-at.bofh.it>
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 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/

[toc] | [next] | [standalone]


#1266340

FromVladimir Davydov <vdavydov@virtuozzo.com>
Date2015-11-10 10:10 +0100
Message-ID<qtd69-35q-7@gated-at.bofh.it>
In reply to#1266335
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 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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web