[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0909081000100.15723@V090114053VZO-1>
Date: Tue, 8 Sep 2009 10:03:42 -0400 (EDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Mike Galbraith <efault@....de>, Ingo Molnar <mingo@...e.hu>,
linux-mm <linux-mm@...ck.org>,
Oleg Nesterov <onestero@...hat.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [rfc] lru_add_drain_all() vs isolation
On Tue, 8 Sep 2009, Peter Zijlstra wrote:
> This is about avoiding work when there is non, clearly when an
> application does use the kernel it creates work.
Hmmm. The lru draining in page migration is to reduce the number of pages
that are not on the lru to increase the chance of page migration to be
successful. A page on a per cpu list cannot be drained.
Reducing the number of cpus where we perform the drain results in
increased likelyhood that we cannot migrate a page because its on the per
cpu lists of a cpu not covered.
On the other hand if the cpu is offline then we know that it has no per
cpu pages. That is why I found the idea of the OFFLINE
scheduler attractive.
--
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