Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271212AbTHCPfa (ORCPT ); Sun, 3 Aug 2003 11:35:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271222AbTHCPfa (ORCPT ); Sun, 3 Aug 2003 11:35:30 -0400 Received: from dm1-11.slc.aros.net ([66.219.220.11]:46012 "EHLO cyprus") by vger.kernel.org with ESMTP id S271212AbTHCPf0 (ORCPT ); Sun, 3 Aug 2003 11:35:26 -0400 Message-ID: <3F2D2BBA.70205@aros.net> Date: Sun, 03 Aug 2003 09:35:22 -0600 From: Lou Langholtz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benjamin Herrenschmidt Cc: Manfred Spraul , Jens Axboe , linux-kernel mailing list Subject: Re: IDE locking problem References: <3F2D1884.3010001@colorfullife.com> <1059920721.3524.137.camel@gaston> In-Reply-To: <1059920721.3524.137.camel@gaston> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 17 Benjamin Herrenschmidt wrote: >>The last step is bad - sooner or later the queue will be kfreed, and if >>there are bozos around that still have references, they would access >>random memory. It must be guaranteed that all references expired before >>the tear down begins. Just leaving a dead flag set is not sufficient. >> >> >Jens ? I see no refcounting of the queue,. . . > struct request_queue's kobj field perhaps? - 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/