Thread (22 messages) 22 messages, 5 authors, 2018-02-27

Re: [PATCH] Synchronize task mm counters on context switch

From: Michal Hocko <mhocko@kernel.org>
Date: 2018-02-23 08:11:50

On Wed 21-02-18 18:49:35, Daniel Colascione wrote:
[...]
For more context: on Android, we've historically scanned each processes's
address space using /proc/pid/smaps (and /proc/pid/smaps_rollup more
recently) to extract memory management statistics. We're looking at
replacing this mechanism with the new /proc/pid/status per-memory-type
(e.g., anonymous, file-backed) counters so that we can be even more
efficient, but we'd like the counts we collect to be accurate.
If you need the accuracy then why don't you simply make
SPLIT_RSS_COUNTING configurable and disable it in your setup?
-- 
Michal Hocko
SUSE Labs

--
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