[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090329165620.GB15608@balbir.in.ibm.com>
Date: Sun, 29 Mar 2009 22:26:20 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"kosaki.motohiro@...fujitsu.com" <kosaki.motohiro@...fujitsu.com>,
"nishimura@....nes.nec.co.jp" <nishimura@....nes.nec.co.jp>
Subject: Re: [RFC][PATCH 4/8] memcg soft limit priority array queue.
* KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> [2009-03-27 14:06:53]:
> I'm now search a way to reduce lock contention without complex...
> -Kame
> ==
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
>
> +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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists