Thread (6 messages) 6 messages, 2 authors, 2017-08-10

Re: memcg Can't context between v1 and v2 because css->refcnt not released

From: Michal Hocko <hidden>
Date: 2017-08-10 08:19:24
Also in: linux-mm

[Please do not top-post]

On Thu 10-08-17 16:10:45, wang Yu wrote:
at first ,thanks for your reply.
but i also tested what you said, the problem is also.
force_empty only call try_to_free_pages, not all the pages remove
because mem_cgroup_reparent_charges moved
Right. An alternative would be dropping the page cache globaly via
/proc/sys/vm/drop_caches. Not an ideal solution but it should help.
-- 
Michal Hocko
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help