Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965009AbWJBUnl (ORCPT ); Mon, 2 Oct 2006 16:43:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965094AbWJBUnl (ORCPT ); Mon, 2 Oct 2006 16:43:41 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:39502 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S965009AbWJBUnk (ORCPT ); Mon, 2 Oct 2006 16:43:40 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Semw2KYvGsdhiEjvtlaXvTtn+mqy9ZrPEynmmqHm14PZyjluNeb4KJMzsblhx7EbfYB2hHmkCd7w+iGkBwMR3ah+jSvBl2zvR+RzkaMNshal5xB+b58UQMgRs6sKKn9+xKiLc2zWmATlW4A2LLI5SZ+ySceHcXPyID7nBND+8rs= Message-ID: Date: Mon, 2 Oct 2006 16:43:38 -0400 From: "Dmitry Torokhov" To: "Andrew Morton" Subject: Re: [PATCH 3/3] IRQ: Maintain regs pointer globally rather than passing to IRQ handlers Cc: "David Howells" , "Thomas Gleixner" , "Ingo Molnar" , torvalds@osdl.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, "Greg KH" , "David Brownell" , "Alan Stern" In-Reply-To: <20061002132116.2663d7a3.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061002162049.17763.39576.stgit@warthog.cambridge.redhat.com> <20061002162053.17763.26032.stgit@warthog.cambridge.redhat.com> <20061002132116.2663d7a3.akpm@osdl.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1344 Lines: 37 On 10/2/06, Andrew Morton wrote: > On Mon, 02 Oct 2006 17:21:09 +0100 > David Howells wrote: > > > Maintain a per-CPU global "struct pt_regs *" variable which can be used instead > > of passing regs around manually through all ~1800 interrupt handlers in the > > Linux kernel. > > Nice! I was wanting to do that for a long time... > > I think the change is good. But I don't want to maintain this whopper > out-of-tree for two months! If we want to do this, we should just smash it > in and grit our teeth. Yes, lets drop it in while we still not reached rc1. > > > Some notes on the interrupt handling in the drivers: > > > > (*) input_dev() is now gone entirely. The regs pointer is no longer stored in > > the input_dev struct. Good riddance... Athough I would not remove input_regs() just yet but just redefine it to an empty inline and mark it as depreciated so we won't break all out-of-tree input drivers right away. Removal of input_regs() from in-tree drivers could be done by separate patch as well, once main changes are in. -- Dmitry - 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/