2015-04-24 06:25:06

by Chen Hanxiao

[permalink] [raw]
Subject: [PATCH] docs: add VmPMD description in proc

commit dc6c9a35b66b ("mm: account pmd page tables to the process")
add VmPMD in /proc/PID/status.
This patch add a description in proc.txt for it.

cc: Kirill A. Shutemov <[email protected]>
Signed-off-by: Chen Hanxiao <[email protected]>
---
Documentation/filesystems/proc.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index c3b6b30..e8aba97 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -235,6 +235,7 @@ Table 1-2: Contents of the status files (as of 3.20.0)
VmExe size of text segment
VmLib size of shared library code
VmPTE size of page table entries
+ VmPMD size of page middle directory
VmSwap size of swap usage (the number of referred swapents)
Threads number of threads
SigQ number of signals queued/max. number for queue
--
2.1.0


2015-04-24 06:33:48

by Kirill A. Shutemov

[permalink] [raw]
Subject: Re: [PATCH] docs: add VmPMD description in proc

On Fri, Apr 24, 2015 at 02:24:32AM -0400, Chen Hanxiao wrote:
> commit dc6c9a35b66b ("mm: account pmd page tables to the process")
> add VmPMD in /proc/PID/status.
> This patch add a description in proc.txt for it.
>
> cc: Kirill A. Shutemov <[email protected]>
> Signed-off-by: Chen Hanxiao <[email protected]>
> ---
> Documentation/filesystems/proc.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
> index c3b6b30..e8aba97 100644
> --- a/Documentation/filesystems/proc.txt
> +++ b/Documentation/filesystems/proc.txt
> @@ -235,6 +235,7 @@ Table 1-2: Contents of the status files (as of 3.20.0)
> VmExe size of text segment
> VmLib size of shared library code
> VmPTE size of page table entries
> + VmPMD size of page middle directory

size of second level page tables

?

> VmSwap size of swap usage (the number of referred swapents)
> Threads number of threads
> SigQ number of signals queued/max. number for queue
> --
> 2.1.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Kirill A. Shutemov

2015-04-24 06:56:19

by Chen Hanxiao

[permalink] [raw]
Subject: RE: [PATCH] docs: add VmPMD description in proc



> -----Original Message-----
> From: Kirill A. Shutemov [mailto:[email protected]]
> Sent: Friday, April 24, 2015 2:33 PM
> To: Chen, Hanxiao/?? ????
> Cc: Jonathan Corbet; [email protected]; [email protected];
> Kirill A. Shutemov
> Subject: Re: [PATCH] docs: add VmPMD description in proc
>
> On Fri, Apr 24, 2015 at 02:24:32AM -0400, Chen Hanxiao wrote:
> > commit dc6c9a35b66b ("mm: account pmd page tables to the process")
> > add VmPMD in /proc/PID/status.
> > This patch add a description in proc.txt for it.
> >
> > cc: Kirill A. Shutemov <[email protected]>
> > Signed-off-by: Chen Hanxiao <[email protected]>
> > ---
> > Documentation/filesystems/proc.txt | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/filesystems/proc.txt
> b/Documentation/filesystems/proc.txt
> > index c3b6b30..e8aba97 100644
> > --- a/Documentation/filesystems/proc.txt
> > +++ b/Documentation/filesystems/proc.txt
> > @@ -235,6 +235,7 @@ Table 1-2: Contents of the status files (as of 3.20.0)
> > VmExe size of text segment
> > VmLib size of shared library code
> > VmPTE size of page table entries
> > + VmPMD size of page middle directory
>
> size of second level page tables
>
> ?

For we may have various page levels,
'second level' is more accurate than 'middle'.

Thanks for the review.
v2 will come soon.

Regards,
- Chen

>
> > VmSwap size of swap usage (the number of referred swapents)
> > Threads number of threads
> > SigQ number of signals queued/max. number for queue
> > --
> > 2.1.0
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
>
> --
> Kirill A. Shutemov
????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?