From: Xishi Qiu <qiuxishi@huawei.com>
To: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: 'Linux MM' <linux-mm@kvack.org>
Subject: Re: [question] hugetlb: how to find who use hugetlb?
Date: Tue, 20 Sep 2016 12:29:16 +0800 [thread overview]
Message-ID: <57E0BB1C.3040104@huawei.com> (raw)
In-Reply-To: <055801d212f4$4b9c4b60$e2d4e220$@alibaba-inc.com>
On 2016/9/20 12:05, Hillf Danton wrote:
>>> So how to find who use the additional hugetlb?
>>>
> Take a peek please at 5d317b2b653
> ("mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status")
>
> Hillf
>
Hi Hillf,
This patch add the count of hugetlb for each process.
If someone use hugetlb, "cat /proc/*/smaps | grep KernelPageSize| grep 2048"
will show something, right? But now it is nothing, and /dev/hugepages is empty.
Thanks,
Xishi Qiu
>
>
>
--
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-09-20 4:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 2:39 [question] hugetlb: how to find who use hugetlb? Xishi Qiu
2016-09-19 2:39 ` Xishi Qiu
2016-09-20 2:46 ` Xishi Qiu
2016-09-20 2:46 ` Xishi Qiu
2016-09-20 4:05 ` Hillf Danton
2016-09-20 4:29 ` Xishi Qiu [this message]
2016-09-20 6:47 ` Hillf Danton
2016-09-20 7:09 ` Xishi Qiu
2016-09-20 7:15 ` Hillf Danton
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=57E0BB1C.3040104@huawei.com \
--to=qiuxishi@huawei.com \
--cc=hillf.zj@alibaba-inc.com \
--cc=linux-mm@kvack.org \
/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.