Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 3 Nov 2002 20:34:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 3 Nov 2002 20:34:33 -0500 Received: from holomorphy.com ([66.224.33.161]:45969 "EHLO holomorphy") by vger.kernel.org with ESMTP id ; Sun, 3 Nov 2002 20:34:32 -0500 Date: Sun, 3 Nov 2002 17:39:37 -0800 From: William Lee Irwin III To: Davide Libenzi Cc: Linux Kernel Mailing List , hch@lst.de, Benjamin LaHaise Subject: Re: interrupt checks for spinlocks Message-ID: <20021104013937.GQ23425@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Davide Libenzi , Linux Kernel Mailing List , hch@lst.de, Benjamin LaHaise References: <20021104003906.GB12891@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Organization: The Domain of Holomorphy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1028 Lines: 26 On Sun, Nov 03, 2002 at 05:39:29PM -0800, Davide Libenzi wrote: > It's not realy a graph Bill. Each task has a list of acquired locks ( > by address ). You keep __LINE__ and __FILE__ with you list items. When > there's a deadlock you'll have somewhere : > TSK#N TSK#M > ------------- > ... ... > LCK#I LCK#J > ... ... > -> LCK#J LCK#I > Then with a SysReq key you dump the list of acquired locks for each task > who's spinning for a lock. IMO it might be usefull ... Then you had something different in mind. I *thought* you meant maintaining a graph's arcs and dumping the specific deadlocking processes and their acquired locks at failure time. This scheme with limited reporting requires less work/code, but is still beyond the scope of what I was doing. Bill - 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/