From: Vladimir Davydov <vdavydov@virtuozzo.com>
To: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Konstantin Khlebnikov <koct9i@gmail.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Naoya Horiguchi <nao.horiguchi@gmail.com>
Subject: Re: [PATCH v1 2/3] /proc/kpageflags: return KPF_SLAB for slab tail pages
Date: Thu, 4 Feb 2016 19:43:37 +0300 [thread overview]
Message-ID: <20160204164337.GB16895@esperanza> (raw)
In-Reply-To: <1454569683-17918-2-git-send-email-n-horiguchi@ah.jp.nec.com>
On Thu, Feb 04, 2016 at 04:08:02PM +0900, Naoya Horiguchi wrote:
> Currently /proc/kpageflags returns just KPF_COMPOUND_TAIL for slab tail pages,
> which is inconvenient when grasping how slab pages are distributed (userspace
> always needs to check which kind of tail pages by itself). This patch sets
> KPF_SLAB for such pages.
>
> With this patch:
>
> $ grep Slab /proc/meminfo ; tools/vm/page-types -b slab
> Slab: 64880 kB
> flags page-count MB symbolic-flags long-symbolic-flags
> 0x0000000000000080 16220 63 _______S__________________________________ slab
> total 16220 63
>
> 16220 pages equals to 64880 kB, so returned result is consistent with the
> global counter.
>
> 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>
next prev parent reply other threads:[~2016-02-04 16:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-04 7:08 [PATCH v1 1/3] /proc/kpageflags: return KPF_BUDDY for "tail" buddy pages Naoya Horiguchi
2016-02-04 7:08 ` [PATCH v1 2/3] /proc/kpageflags: return KPF_SLAB for slab tail pages Naoya Horiguchi
2016-02-04 16:43 ` Vladimir Davydov [this message]
2016-02-04 7:08 ` [PATCH v1 3/3] tools/vm/page-types.c: support swap entry Naoya Horiguchi
2016-02-04 16:42 ` [PATCH v1 1/3] /proc/kpageflags: return KPF_BUDDY for "tail" buddy pages Vladimir Davydov
2016-02-04 23:29 ` Naoya Horiguchi
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=20160204164337.GB16895@esperanza \
--to=vdavydov@virtuozzo.com \
--cc=akpm@linux-foundation.org \
--cc=koct9i@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=n-horiguchi@ah.jp.nec.com \
--cc=nao.horiguchi@gmail.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).