[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1222095363.16700.15.camel@lappy.programming.kicks-ass.net>
Date: Mon, 22 Sep 2008 16:56:03 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: kamezawa.hiroyu@...fujitsu.com
Cc: 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
On Mon, 2008-09-22 at 23:50 +0900, kamezawa.hiroyu@...fujitsu.com wrote:
> ----- 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 ?
depends on what you want to do, please explain what you're trying to do.
--
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