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

From: Balbir Singh
Date: Sun Mar 29 2009 - 12:56:57 EST


* 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?

> + list_add_tail(&mem->soft_limit_file, &softlimitq.queue[prio][SL_FILE]);
> + spin_unlock(&softlimitq.lock);
> +}
>

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