[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19184326.1222095015978.kamezawa.hiroyu@jp.fujitsu.com>
Date: Mon, 22 Sep 2008 23:50:15 +0900 (JST)
From: kamezawa.hiroyu@...fujitsu.com
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
linux-mm@...ck.org, balbir@...ux.vnet.ibm.com,
nishimura@....nes.nec.co.jp, xemul@...nvz.org,
LKML <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...e.hu>
Subject: Re: Re: [PATCH 4/13] memcg: force_empty moving account
----- Original Message -----
>> + spin_lock_irqsave(&mz->lru_lock, flags);
>> + } else {
>> + unlock_page(page);
>> + put_page(page);
>> + }
>> + if (atomic_read(&mem->css.cgroup->count) > 0)
>> + break;
>> }
>> spin_unlock_irqrestore(&mz->lru_lock, flags);
>
>do _NOT_ use yield() ever! unless you know what you're doing, and
>probably not even then.
>
>NAK!
Hmm, sorry. cond_resched() is ok ?
Thanks,
-Kame
--
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