Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261186AbUDUQch (ORCPT ); Wed, 21 Apr 2004 12:32:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263366AbUDUQch (ORCPT ); Wed, 21 Apr 2004 12:32:37 -0400 Received: from phoenix.infradead.org ([213.86.99.234]:56840 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id S261186AbUDUQcg (ORCPT ); Wed, 21 Apr 2004 12:32:36 -0400 Date: Wed, 21 Apr 2004 17:32:33 +0100 From: Christoph Hellwig To: Martin Schwidefsky Cc: akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] s390 (9/9): no timer interrupts in idle. Message-ID: <20040421173233.A8176@infradead.org> Mail-Followup-To: Christoph Hellwig , Martin Schwidefsky , akpm@osdl.org, linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from schwidefsky@de.ibm.com on Wed, Apr 21, 2004 at 06:31:08PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 789 Lines: 17 On Wed, Apr 21, 2004 at 06:31:08PM +0200, Martin Schwidefsky wrote: > > This is a bit ugly. What about inlining the CONFIG_NO_IDLE_HZ case > > of this function in it's only caller and define idle_cpu_mask to > > an empty cpu mask for all other arches? > > This would mean that all other arches need to do the above three > statements in rcu_start_batch. If this is acceptable we certainly > can introduce a global idle_cpu_mask. Where? sched.c? My hope was gcc would actually optimize it away if it was a CPP constant instead of a variable. - 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/