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

From: Andrew Morton
Date: Tue Jun 14 2011 - 21:20:24 EST


On Wed, 15 Jun 2011 09:09:35 +0900 KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> 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 ;)

--
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/