Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 12 Mar 2003 17:08:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 12 Mar 2003 17:08:56 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:36296 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Wed, 12 Mar 2003 17:08:54 -0500 Subject: Re: [PATCH] bug in 2.4 bh_kmap_irq() breaks IDE under preempt patch From: Alan Cox To: Joe Korty Cc: Linux Kernel Mailing List In-Reply-To: <200303122213.WAA17415@rudolph.ccur.com> References: <200303122213.WAA17415@rudolph.ccur.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1047511647.23902.29.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 (1.2.1-4) Date: 12 Mar 2003 23:27:28 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 15 On Wed, 2003-03-12 at 22:13, Joe Korty wrote: > The bug is that bh_map_irq *conditionally* calls kmap_atomic (which > disables preemption as one of its functions), while bh_unmap_irq > *unconditionally* calls kunmap_atomic (which enables it). This Thats a pre-empt bug ont a bh_map_irq bug. I'm glad you've found it however. It explains a few things and will be useful for people wanting pre-empt 2.4 . - 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/