lkml.org 
[lkml]   [2009]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 5/4] memcg: don't call res_counter_uncharge when obsolete
On Thu, 15 Jan 2009 11:48:46 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> On Wed, 14 Jan 2009 19:25:39 +0530
> Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
> > I liked the earlier, EBUSY approach that ensured that parents could
> > not go away if children exist. IMHO, the code has gotten too complex
> > and has too many corner cases. Time to revisit it.
> >
> It's on my plan.
> I'll fix this by CSS-ID patch.
>
> When I recored memcg's CSS-ID to swap_cgroup (not pointer to memcg),
> we never need memcg's refcnt.
>
Sorry, ignore this. refcnt in memcg is necessary anyway to prevent reuse of ID.

-Kame



\
 
 \ /
  Last update: 2009-01-15 04:11    [W:0.061 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site