Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Jun 2002 11:52:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Jun 2002 11:52:55 -0400 Received: from ns.virtualhost.dk ([195.184.98.160]:60895 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Wed, 5 Jun 2002 11:52:54 -0400 Date: Wed, 5 Jun 2002 17:52:41 +0200 From: Jens Axboe To: Martin Dalecki Cc: Linus Torvalds , Kernel Mailing List Subject: Re: [PATCH] 2.5.20 IDE 85 Message-ID: <20020605155241.GD16257@suse.de> In-Reply-To: <3CFE0C16.1020203@evision-ventures.com> <20020605141717.GB16257@suse.de> <3CFE1974.9080509@evision-ventures.com> <20020605154853.GF16600@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 05 2002, Jens Axboe wrote: > On Wed, Jun 05 2002, Martin Dalecki wrote: > > Jens Axboe wrote: > > >On Wed, Jun 05 2002, Martin Dalecki wrote: > > > > > >AFAICS, you just introduced some nasty list races in the interrupt > > >handlers. You must hold the queue locks when calling > > >blkdev_dequeue_request() and end_that_request_last(), for instance. > > > > > > > No. Please be more accurate. Becouse: > > > > 1. If anything I have made existing races only "obvious". > > If anything, you've made a race you introduced earlier more obvious. > > > 2. It is called in the context of do_ide_request or ide_raw_taskfile > > where we already have the lock. > > ?? Both tcq and ata_special_intr look like interrupt handlers to me. BTW, I wanted to look at the code (and not just read the patch), but it's not clear from the patch what it is against. Where do you keep older patches so I can get them? Maybe the ide code could do with a bit of peer review :-) -- Jens Axboe - 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/