From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx186.postini.com [74.125.245.186]) by kanga.kvack.org (Postfix) with SMTP id 875DE6B00FB for ; Tue, 27 Mar 2012 11:45:50 -0400 (EDT) Message-ID: <1332863135.16159.239.camel@twins> Subject: Re: [PATCH 07/39] autonuma: introduce kthread_bind_node() From: Peter Zijlstra Date: Tue, 27 Mar 2012 17:45:35 +0200 In-Reply-To: <20120327152209.GL5906@redhat.com> References: <1332783986-24195-1-git-send-email-aarcange@redhat.com> <1332783986-24195-8-git-send-email-aarcange@redhat.com> <1332786755.16159.174.camel@twins> <20120327152209.GL5906@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 On Tue, 2012-03-27 at 17:22 +0200, Andrea Arcangeli wrote: > I don't see what's wrong with more than 1 CPU in the hard bind > cpumask. Because its currently broken, but we're trying to restore its pure semantic so that we can use it in more places again, like debug_smp_processor_id(). Testing a single process flag is _much_ cheaper than testing ->cpus_allowed. Adding more broken isn't an option. -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755446Ab2C0PqB (ORCPT ); Tue, 27 Mar 2012 11:46:01 -0400 Received: from merlin.infradead.org ([205.233.59.134]:35743 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755131Ab2C0PqA convert rfc822-to-8bit (ORCPT ); Tue, 27 Mar 2012 11:46:00 -0400 Message-ID: <1332863135.16159.239.camel@twins> Subject: Re: [PATCH 07/39] autonuma: introduce kthread_bind_node() From: Peter Zijlstra 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 Date: Tue, 27 Mar 2012 17:45:35 +0200 In-Reply-To: <20120327152209.GL5906@redhat.com> References: <1332783986-24195-1-git-send-email-aarcange@redhat.com> <1332783986-24195-8-git-send-email-aarcange@redhat.com> <1332786755.16159.174.camel@twins> <20120327152209.GL5906@redhat.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-03-27 at 17:22 +0200, Andrea Arcangeli wrote: > I don't see what's wrong with more than 1 CPU in the hard bind > cpumask. Because its currently broken, but we're trying to restore its pure semantic so that we can use it in more places again, like debug_smp_processor_id(). Testing a single process flag is _much_ cheaper than testing ->cpus_allowed. Adding more broken isn't an option.