From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx156.postini.com [74.125.245.156]) by kanga.kvack.org (Postfix) with SMTP id 19D3E6B005D for ; Tue, 29 May 2012 13:43:59 -0400 (EDT) Message-ID: <1338313407.26856.163.camel@twins> Subject: Re: [PATCH 22/35] autonuma: sched_set_autonuma_need_balance From: Peter Zijlstra Date: Tue, 29 May 2012 19:43:27 +0200 In-Reply-To: <20120529173347.GJ21339@redhat.com> References: <1337965359-29725-1-git-send-email-aarcange@redhat.com> <1337965359-29725-23-git-send-email-aarcange@redhat.com> <1338307942.26856.111.camel@twins> <20120529173347.GJ21339@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter On Tue, 2012-05-29 at 19:33 +0200, Andrea Arcangeli wrote: > So the cost on a 24-way SMP=20 is irrelevant.. also, not every cpu gets to the 24 cpu domain, just 2 do. When you do for_each_cpu() think at least 4096, if you do for_each_node() think at least 256. Add to that the knowledge that doing 4096 remote memory accesses will cost multiple jiffies, then realize you're wanting to do that with preemption disabled. That's just a very big no go. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org