Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210709
| From | David Rientjes <rientjes@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status |
| Date | 2015-08-20 22:00 +0200 |
| Message-ID | <pZEae-6lY-13@gated-at.bofh.it> (permalink) |
| References | <pWrMe-45O-9@gated-at.bofh.it> <pZtHQ-8aH-15@gated-at.bofh.it> <pZtHQ-8aH-13@gated-at.bofh.it> <pZvTk-337-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 20 Aug 2015, Michal Hocko wrote: > On Thu 20-08-15 08:26:27, Naoya Horiguchi wrote: > > Currently there's no easy way to get per-process usage of hugetlb pages, > > Is this really the case after your previous patch? You have both > HugetlbPages and KernelPageSize which should be sufficient no? > > Reading a single file is, of course, easier but is it really worth the > additional code? I haven't really looked at the patch so I might be > missing something but what would be an advantage over reading > /proc/<pid>/smaps and extracting the information from there? > /proc/pid/smaps requires root, /proc/pid/status doesn't. -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-20 10:50 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-20 13:10 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-20 22:00 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-21 08:40 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Jörn Engel <joern@purestorage.com> - 2015-08-21 18:40 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-21 01:40 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-21 09:00 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Jörn Engel <joern@purestorage.com> - 2015-08-21 18:40 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-24 11:00 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-26 01:30 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-26 08:40 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-27 00:10 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-27 08:50 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Jörn Engel <joern@purestorage.com> - 2015-08-27 19:30 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-27 22:50 +0200
Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status Michal Hocko <mhocko@kernel.org> - 2015-08-31 11:20 +0200
csiph-web