Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 23 Jul 2002 20:54:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 23 Jul 2002 20:54:24 -0400 Received: from node-209-133-23-217.caravan.ru ([217.23.133.209]:33806 "EHLO mail.tv-sign.ru") by vger.kernel.org with ESMTP id ; Tue, 23 Jul 2002 20:54:23 -0400 Message-ID: <3D3DFC3B.677AFDD7@tv-sign.ru> Date: Wed, 24 Jul 2002 05:00:43 +0400 From: Oleg Nesterov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Ingo Molnar CC: linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [patch] big IRQ lock removal, 2.5.27-G0 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 27 Hello. > > Then local_bh_enable() has a small preemptible window between > > i dont think getting a preemption before softirqs are processed is a big > problem. Such type of preemption comes in form of an interrupt, which Ah, yes... > > But in irq_exit() case interrupt context may be preempted > > okay - i've fixed irq_exit() once more in -G4 found G5, your forgot to add preempt_disable() in irq_exit() #define irq_exit() do { + preempt_disable(); preempt_count() -= IRQ_EXIT_OFFSET; if (!in_interrupt() && softirq_pending(smp_processor_id())) Oleg. - 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/