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


Groups > linux.kernel > #1206363

Re: [PATCH v4 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 1/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/smaps
Date 2015-08-12 22:30 +0200
Message-ID <pWKOS-6EY-17@gated-at.bofh.it> (permalink)
References <pWrMe-45O-9@gated-at.bofh.it> <pWyXo-6k2-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 12 Aug 2015, Naoya Horiguchi wrote:

> Currently /proc/PID/smaps provides no usage info for vma(VM_HUGETLB), which
> is inconvenient when we want to know per-task or per-vma base hugetlb usage.
> To solve this, this patch adds a new line for hugetlb usage like below:
> 
>   Size:              20480 kB
>   Rss:                   0 kB
>   Pss:                   0 kB
>   Shared_Clean:          0 kB
>   Shared_Dirty:          0 kB
>   Private_Clean:         0 kB
>   Private_Dirty:         0 kB
>   Referenced:            0 kB
>   Anonymous:             0 kB
>   AnonHugePages:         0 kB
>   HugetlbPages:      18432 kB
>   Swap:                  0 kB
>   KernelPageSize:     2048 kB
>   MMUPageSize:        2048 kB
>   Locked:                0 kB
>   VmFlags: rd wr mr mw me de ht
> 
> Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>

Acked-by: David Rientjes <rientjes@google.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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] smaps: fill missing fields for vma(VM_HUGETLB) Jörn Engel <joern@purestorage.com> - 2015-08-04 20:30 +0200
  Re: [PATCH] smaps: fill missing fields for vma(VM_HUGETLB) David Rientjes <rientjes@google.com> - 2015-08-06 04:20 +0200
    Re: [PATCH] smaps: fill missing fields for vma(VM_HUGETLB) Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-06 09:50 +0200
      [PATCH v2 0/2] hugetlb: display per-process/per-vma usage Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-07 09:30 +0200
        [PATCH v2 2/2] mm: hugetlb: add VmHugetlbRSS: field in  /proc/pid/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-07 09:30 +0200
          Re: [PATCH v2 2/2] mm: hugetlb: add VmHugetlbRSS: field in  /proc/pid/status Andrew Morton <akpm@linux-foundation.org> - 2015-08-08 01:00 +0200
            [PATCH v3 3/3] Documentation/filesystems/proc.txt: document hugetlb  RSS Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-10 02:50 +0200
              Re: [PATCH v3 3/3] Documentation/filesystems/proc.txt: document  hugetlb RSS David Rientjes <rientjes@google.com> - 2015-08-11 02:50 +0200
                Re: [PATCH v3 3/3] Documentation/filesystems/proc.txt: document  hugetlb RSS Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-12 02:10 +0200
                [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-12 09:50 +0200
                Re: [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-12 22:40 +0200
                Re: [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-13 02:50 +0200
                Re: [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status Jörn Engel <joern@purestorage.com> - 2015-08-13 23:20 +0200
                Re: [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status Jörn Engel <joern@purestorage.com> - 2015-08-13 23:20 +0200
                Re: [PATCH v4 2/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/status David Rientjes <rientjes@google.com> - 2015-08-17 23:30 +0200
                [PATCH v4 1/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/smaps Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-12 09:50 +0200
                Re: [PATCH v4 1/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/smaps David Rientjes <rientjes@google.com> - 2015-08-12 22:30 +0200
                Re: [PATCH v4 1/2] mm: hugetlb: proc: add HugetlbPages field to  /proc/PID/smaps Jörn Engel <joern@purestorage.com> - 2015-08-13 23:20 +0200
            [PATCH v3 2/3] mm: hugetlb: add VmHugetlbRSS: field in  /proc/pid/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-10 02:50 +0200
              Re: [PATCH v3 2/3] mm: hugetlb: add VmHugetlbRSS: field in  /proc/pid/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-10 03:20 +0200
            [PATCH v3 1/3] smaps: fill missing fields for vma(VM_HUGETLB) Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-10 02:50 +0200
            Re: [PATCH v2 2/2] mm: hugetlb: add VmHugetlbRSS: field in  /proc/pid/status Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-10 02:50 +0200
        [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-07 09:30 +0200
          Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) Andrew Morton <akpm@linux-foundation.org> - 2015-08-08 01:00 +0200
          Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) David Rientjes <rientjes@google.com> - 2015-08-11 02:40 +0200
            Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2015-08-12 01:40 +0200
              Re: [PATCH v2 1/2] smaps: fill missing fields for vma(VM_HUGETLB) David Rientjes <rientjes@google.com> - 2015-08-12 01:50 +0200

csiph-web