From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: [BUG RT] WARNING: at kernel/sched.c:5071 2.6.23-rc1-rt7 Date: Sun, 05 Aug 2007 01:13:36 -0400 Message-ID: <1186290816.636.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Thomas Gleixner , LKML , RT , "Paul E. McKenney" To: Ingo Molnar Return-path: Received: from ms-smtp-03.nyroc.rr.com ([24.24.2.57]:58350 "EHLO ms-smtp-03.nyroc.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752360AbXHEFN7 (ORCPT ); Sun, 5 Aug 2007 01:13:59 -0400 Sender: linux-rt-users-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org Ingo, The below ifndef, shouldn't that be ifndef CONFIG_PREEMPT_SOFTIRQS ? I hit that warning while I was running !PREEMPT_RT but with both hard and softiqs as threads. int __sched cond_resched_softirq(void) { #ifndef CONFIG_PREEMPT_RT WARN_ON_ONCE(!in_softirq()); #endif if (need_resched() && system_state == SYSTEM_RUNNING) { local_bh_enable(); __cond_resched(); local_bh_disable(); return 1; } return 0; } -- Steve P.S. I really found out that the system becomes VERY non-responsive when you run with both hard and softirqs as threads, but with PREEMPT_NONE ;-)