Re: [BUGFIX][PATCH] memcg rcu lock fix in swap code (Was Re: [BUG]an RCU warning in memcg

From: Li Zefan
Date: Thu Apr 22 2010 - 23:48:20 EST


KAMEZAWA Hiroyuki wrote:
> On Fri, 23 Apr 2010 11:00:41 +0800
> Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
>
>> with CONFIG_PROVE_RCU=y, I saw this warning, it's because
>> css_id() is not under rcu_read_lock().
>>
>
> Ok. Thank you for reporting.
> This is ok ?

Yes, and I did some more simple tests on memcg, no more warning
showed up.

> ==
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
>
--
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/