Thread (13 messages) 13 messages, 2 authors, 2016-01-29

Re: [PATCH 3/5] mm: workingset: separate shadow unpacking and refault calculation

From: Vladimir Davydov <hidden>
Date: 2016-01-27 14:34:51
Also in: cgroups, lkml

On Tue, Jan 26, 2016 at 04:00:04PM -0500, Johannes Weiner wrote:
Per-cgroup thrash detection will need to derive a live memcg from the
eviction cookie, and doing that inside unpack_shadow() will get nasty
with the reference handling spread over two functions.

In preparation, make unpack_shadow() clearly about extracting static
data, and let workingset_refault() do all the higher-level handling.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Vladimir Davydov <redacted>

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