Skip to contentSkip to conversation

proc.5: account pmd page tables to the process

update report Michael Kerrisk (man-pages) 2 participants 3 messages Apr 30, 2015 – May 5, 2015 4 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

[CC += Kirill]

Hello Weijie Yang, and Kirill,

Kirill, your commit changed the user-space ABI but there was nothing in the commit message about that, nor did it CC linux-api@. It makes my life easier when those things happen ;-).

Quoted 4 lines · Weijie Yang

Since kernel v4.0, pmd page account is added into /proc/[pid]/status

See detail:
commit dc6c9a35b66b520cf67e05d8ca60ebecad3b0479

Quoted 8 lines
Author: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/[email protected]>
Date:   Wed Feb 11 15:26:50 2015 -0800

mm: account pmd page tables to the process

I don't find a description for it when I read the latest man-page, so I send this email. Maybe there is already a plan for it and I miss it, anyway, I send this report.

I added the following to the proc(5) entry for /proc/PID/status:

VmPMD : Page middle directory size (since Linux 4.0).

Thanks for the report, Weijie Yang.

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
In reply to a message not in the archive
Quoted 19 lines · Michael Kerrisk (man-pages)

[CC += Kirill]

Hello Weijie Yang, and Kirill,

Kirill, your commit changed the user-space ABI but there was nothing in the commit message about that, nor did it CC linux-api@. It makes my life easier when those things happen ;-).

Quoted 10 lines · Weijie Yang

Since kernel v4.0, pmd page account is added into /proc/[pid]/status

See detail:
commit dc6c9a35b66b520cf67e05d8ca60ebecad3b0479

Author: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/[email protected]>
Date:   Wed Feb 11 15:26:50 2015 -0800

mm: account pmd page tables to the process

Quoted 6 lines
Quoted 2 lines

I don't find a description for it when I read the latest man-page, so I send this email. Maybe there is already a plan for it and I miss it, anyway, I send this report.

I added the following to the proc(5) entry for /proc/PID/status:

VmPMD : Page middle directory size (since Linux 4.0).

I'm not native speaker, but I think "directory" should be plural -- there are more than one directory.

And I would rather say "Size of second level page tables".
PMD is not really in middle since 4-level page tables was introduced and definitely will not be in middle when we get 5-level page tables. --
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
In reply to a message not in the archive
Quoted 23 lines · Kirill A. Shutemov
Quoted 22 lines · Michael Kerrisk (man-pages)

[CC += Kirill]

Hello Weijie Yang, and Kirill,

Kirill, your commit changed the user-space ABI but there was nothing in the commit message about that, nor did it CC linux-api@. It makes my life easier when those things happen ;-).

Quoted 12 lines · Weijie Yang

Since kernel v4.0, pmd page account is added into /proc/[pid]/status

See detail:
commit dc6c9a35b66b520cf67e05d8ca60ebecad3b0479

Author: Kirill A. Shutemov <kirill.shutemov-VuQAYsv1563Yd54FQh9/[email protected]>
Date:   Wed Feb 11 15:26:50 2015 -0800

mm: account pmd page tables to the process

I don't find a description for it when I read the latest man-page, so I send this email. Maybe there is already a plan for it and I miss it, anyway, I send this report.

Quoted 8 lines
Quoted 3 lines

I added the following to the proc(5) entry for /proc/PID/status:

VmPMD : Page middle directory size (since Linux 4.0).

I'm not native speaker, but I think "directory" should be plural -- there are more than one directory.

And I would rather say "Size of second level page tables".

Thanks, Kirill. I change the text to what you wrote.

Quoted 2 lines

PMD is not really in middle since 4-level page tables was introduced and definitely will not be in middle when we get 5-level page tables.

Oh -- I didn't realize we were getting another level of PTs!

Cheers,

Michael

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html