From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750775AbWFZQgg (ORCPT ); Mon, 26 Jun 2006 12:36:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750786AbWFZQgf (ORCPT ); Mon, 26 Jun 2006 12:36:35 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:2195 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S1750775AbWFZQgb (ORCPT ); Mon, 26 Jun 2006 12:36:31 -0400 Date: Mon, 26 Jun 2006 18:35:44 +0200 From: Pavel Machek To: "Brown, Len" Cc: Ingo Molnar , Andrew Morton , michal.k.k.piotrowski@gmail.com, arjan@linux.intel.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, "Moore, Robert" , Arjan van de Ven Subject: Re: [patch] ACPI: reduce code size, clean up, fix validator message Message-ID: <20060626163543.GB3257@elf.ucw.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > Thanks for the quick reply. > > An Andrew's advice a while back, Bob already got rid > of the allocate part -- it just isn't upstream yet. > > Re: changing ACPICA code (sub-directories of drivers/acpi/) like this: > > >- flags = acpi_os_acquire_lock(acpi_gbl_gpe_lock); > >+ spin_lock_irqsave(&acpi_gbl_gpe_lock, flags); > > I can't do that without either > 1. diverging between Linux and ACPICA > or > 2. getting a license back from you to Intel such that Intel can > re-distrubute such a change under the Intel license on the file > and > inventing spin_lock_irqsave() on about 9 other operating systems. > > #1 is all pain and no gain, unless the 244 net fewer bytes counts as > gain. > #2 wouldn't make sense either. Well, gain here is that code actually becomes readable/linux like/something. Feel free to put GPL/BSD license in ACPICA code, saying that by default contributed code is under both licenses.... or something, but having linux-like code under drivers/acpi would be great. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html