Re: [RFC][PATCH 1/6] memcg: fix pre_destory handler

From: Paul Menage
Date: Wed Dec 10 2008 - 19:28:51 EST


On Wed, Dec 10, 2008 at 4:25 PM, KAMEZAWA Hiroyuki
<kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
>>
>> Can you clarify what you mean by "rolling update of refcnts"?
>>
> for(..i++)
> atomic_dec/inc( refcnt[i)
>
> But my first version of this patch did above. I can write it again easily.

I just sent out a small patch collection that had my version of
css_tryget() in it - is that what you had in mind by "rolling update"?

Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/