Messages in this thread | | | Date | Thu, 15 Nov 2012 17:47:53 +0400 | From | Glauber Costa <> | Subject | Re: [PATCH 5/7] memcg: get rid of once-per-second cache shrinking for dead memcgs |
| |
On 11/15/2012 01:41 PM, Kamezawa Hiroyuki wrote: > (2012/11/15 11:54), Glauber Costa wrote: >> The idea is to synchronously do it, leaving it up to the shrinking >> facilities in vmscan.c and/or others. Not actively retrying shrinking >> may leave the caches alive for more time, but it will remove the ugly >> wakeups. One would argue that if the caches have free objects but are >> not being shrunk, it is because we don't need that memory yet. >> >> Signed-off-by: Glauber Costa <glommer@parallels.com> >> CC: Michal Hocko <mhocko@suse.cz> >> CC: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> >> CC: Johannes Weiner <hannes@cmpxchg.org> >> CC: Andrew Morton <akpm@linux-foundation.org> > > I agree this patch but can we have a way to see the number of unaccounted > zombie cache usage for debugging ? > > Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > Any particular interface in mind ?
| |