Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 25 Jul 2002 05:58:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 25 Jul 2002 05:58:04 -0400 Received: from mx1.elte.hu ([157.181.1.137]:2775 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Thu, 25 Jul 2002 05:58:03 -0400 Date: Thu, 25 Jul 2002 11:59:46 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: martin@dalecki.de Cc: "David S. Miller" , , Subject: Re: Linux-2.5.28 In-Reply-To: <3D3FC9F0.5040809@evision.ag> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 839 Lines: 23 On Thu, 25 Jul 2002, Marcin Dalecki wrote: > Carefull.... The ATA host controller patches showed that mindless fixing > would just hide the fact that, [...] the main.c change was, frankly, trivially broken. The function that called the unregister function already held the ide_lock. We have a debugging mechanism to detect such bugs as they happen (the NMI watchdog), so it's relatively straightforward (of course not easy) to extend the use of ide_lock. the more subtle cases are when the code somehow relies on cli() excluding multiple IRQ contexts and BH contexts for example. Ingo - 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/