Re: [RFC][PATCH 4/8] memcg soft limit priority array queue.

From: KAMEZAWA Hiroyuki
Date: Mon Mar 30 2009 - 20:00:15 EST


On Sun, 29 Mar 2009 22:26:20 +0530
Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> wrote:

> * KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> [2009-03-27 14:06:53]:
>
> > I'm now search a way to reduce lock contention without complex...
> > -Kame
> > ==
> > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> >
> > +static void __mem_cgroup_requeue(struct mem_cgroup *mem)
> > +{
> > + /* enqueue to softlimit queue */
> > + int prio = mem->soft_limit_priority;
> > +
> > + spin_lock(&softlimitq.lock);
> > + list_del_init(&mem->soft_limit_anon);
> > + list_add_tail(&mem->soft_limit_anon, &softlimitq.queue[prio][SL_ANON]);
> > + list_del_init(&mem->soft_limit_file,ist[SL_FILE]);
>
> Patch fails to build here, what is ist?
>
Hm...my patech is broken ?
&softlimitq.queue[prio][SL_FILE]

-Kame.

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