Thread (21 messages) 21 messages, 6 authors, 2015-10-26

Re: [PATCH v4 3/4] mm, shmem: Add shmem resident memory accounting

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2015-10-02 22:38:00
Also in: linux-api, linux-s390, lkml

On Fri,  2 Oct 2015 15:35:50 +0200 Vlastimil Babka [off-list ref] wrote:
From: Jerome Marchand <redacted>
Changelog is a bit weird.
Currently looking at /proc/<pid>/status or statm, there is no way to
distinguish shmem pages from pages mapped to a regular file (shmem
pages are mapped to /dev/zero), even though their implication in
actual memory use is quite different.
OK, that's a bunch of stuff about the user interface.
This patch adds MM_SHMEMPAGES counter to mm_rss_stat to account for
shmem pages instead of MM_FILEPAGES.
And that has nothing to do with the user interface.

So now this little reader is all confused.  The patch doesn't actually
address the described problem at all, does it?  It's preparatory stuff
only?  No changes to the kernel's user interface?


--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help