Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752514Ab3IHKdA (ORCPT ); Sun, 8 Sep 2013 06:33:00 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:64965 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155Ab3IHKc4 (ORCPT ); Sun, 8 Sep 2013 06:32:56 -0400 Date: Sun, 8 Sep 2013 12:32:50 +0200 From: "Yann E. MORIN" To: "Paul E. McKenney" Cc: Geert Uytterhoeven , "linux-kernel@vger.kernel.org" , Ingo Molnar , laijs@cn.fujitsu.com, dipankar@in.ibm.com, Andrew Morton , Mathieu Desnoyers , josh@joshtriplett.org, niv@us.ibm.com, Thomas Gleixner , Peter Zijlstra , Steven Rostedt , David Howells , edumazet@google.com, darren@dvhart.com, =?utf-8?B?RnLDqWTDqXJpYw==?= Weisbecker , sbw@mit.edu, Linux-Arch , linux-kbuild Subject: Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine Message-ID: <20130908103250.GA3698@free.fr> References: <20130820024700.GA31075@linux.vnet.ibm.com> <1376966841-31774-1-git-send-email-paulmck@linux.vnet.ibm.com> <1376966841-31774-8-git-send-email-paulmck@linux.vnet.ibm.com> <20130906173047.GT3966@linux.vnet.ibm.com> <20130907091348.GA3487@free.fr> <20130907185710.GF3966@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130907185710.GF3966@linux.vnet.ibm.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1550 Lines: 37 Paul, All, On 2013-09-07 11:57 -0700, Paul E. McKenney spake thusly: > On Sat, Sep 07, 2013 at 11:13:48AM +0200, Yann E. MORIN wrote: [--SNIP--] > > I'll see if I can come up with a meaningfull construct that fixes your > > use-case. Don't hold your breath, though! ;-) > > If not, we need to add NR_CPUS to the architectures lacking them... Unfortunately, I was not able to come up with anything suitable. I think your proposal to always define NR_CPUS=1 for architectures without SMP support is a good solution. After all, if !SMP because the architecture does not support it, I believe it makes sense that NR_CPUS be defined to 1. Unless NR_CPUS carries with it a hidden meaning about SMP being possible, that is, which would probably be wrong anyway, since we have SMP for this. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/