Re: [BUGFIX][PATCH 5/5] memcg: fix percpu cached charge draining frequency

Andrew Morton
2011-06-15T01:20:21Z

On Wed, 15 Jun 2011 09:09:35 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> > I made this static. If we later wish to give it kernel-wide scope then
> > "percpu_charge_mutex" will not be a good choice of name.
>
> Thank you.
> And, yes..... memcg_cached_charge_mutex ?

I don't see a need to rename the mutex unless we change it to have
kernel-wide scope. Given that it's presently static to memcontrol.c,
it's obviously part of memcg ;)