Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758236AbYAPCaz (ORCPT ); Tue, 15 Jan 2008 21:30:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756918AbYAPCah (ORCPT ); Tue, 15 Jan 2008 21:30:37 -0500 Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57]:56096 "EHLO ms-smtp-03.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756814AbYAPCag (ORCPT ); Tue, 15 Jan 2008 21:30:36 -0500 Date: Tue, 15 Jan 2008 21:29:55 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: "Rowand, Frank" cc: linux-kernel@vger.kernel.org, mingo@redhat.com Subject: RE: [PATCH] lost softirq, 2.6.24-rc7 In-Reply-To: <884020C16A0AFF4D8A8B7800EA0C98870FD5F6@ussdixms03.am.sony.com> Message-ID: References: <1200435326.4092.9.camel@bx740> <20080116003946.GE30532@goodmis.org> <884020C16A0AFF4D8A8B7800EA0C98870FD5F6@ussdixms03.am.sony.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1311 Lines: 38 On Tue, 15 Jan 2008, Rowand, Frank wrote: > > Steve, > > You are totally correct. I used the wrong words when I said > "ksoftirqd thread runs". My apologies for very misleading wording. > > I have updated the wording in-line below, in the original message to > indicate that it is softirq threads, in the ksoftirqd() function, not > the ksoftirqd thread. Actually, it's the fact that the code you show runs in ___do_softirq(). In full PREEMPT_RT, that should never happen. Well, there is one case that that code can run. It's when hardirqs and softirqs have the same prio, and the hardirq is bound to a single CPU. But we've had so much trouble with running softirqs from hardirq threads, that I've disabled it for -rt3. I'll be (hopefully) releasing -rt3 tonight. I'm not including this patch because it should never hit those code paths. But feel free to complain if you still see this issue, and it goes away with the patch. Actually, I've been thinking of adding a #ifdef CONFIG_PREEMPT_RT WARN_ON(1); #endif at the start of ___do_softirq(); -- Steve -- 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/