Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423658AbWJaVmA (ORCPT ); Tue, 31 Oct 2006 16:42:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1423666AbWJaVmA (ORCPT ); Tue, 31 Oct 2006 16:42:00 -0500 Received: from wohnheim.fh-wedel.de ([213.39.233.138]:42971 "EHLO wohnheim.fh-wedel.de") by vger.kernel.org with ESMTP id S1423658AbWJaVl7 (ORCPT ); Tue, 31 Oct 2006 16:41:59 -0500 Date: Tue, 31 Oct 2006 22:41:46 +0100 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Pierre Ossman , Arnd Bergmann , Christoph Hellwig , Jiri Slaby , Linux Kernel Mailing List , Adrian Bunk , Dominik Brodowski , Harald Welte , Arjan van de Ven , Jean Delvare Subject: Re: feature-removal-schedule obsoletes Message-ID: <20061031214146.GB30739@wohnheim.fh-wedel.de> References: <45324658.1000203@gmail.com> <20061016133352.GA23391@lst.de> <200610242124.49911.arnd@arndb.de> <4543162B.7030701@drzeus.cx> <20061031155756.GA23021@wohnheim.fh-wedel.de> <20061031193212.GC26625@flint.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20061031193212.GC26625@flint.arm.linux.org.uk> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 25 On Tue, 31 October 2006 19:32:12 +0000, Russell King wrote: > On Tue, Oct 31, 2006 at 04:57:56PM +0100, J?rn Engel wrote: > > > > Why does the MMC block driver use a thread? Is there a technical > > reason for this or could it be done in original process context as > > well, removing some code and useless cpu scheduler overhead? > > As I understand it, there is no guarantee that a block drivers request > function will be called in process context - it could be called in > interrupt context. Makes some sense. I would still like to understand when a request function is called from interrupt context, but if it is, the thread is certainly necessary. J?rn -- This above all: to thine own self be true. -- Shakespeare - 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/