Skip to contentSkip to conversation

WARNING: at kernel/sched.c:5071 2.6.23-rc1-rt7

BUG RT Steven Rostedt 2 participants 3 messages Aug 5, 2007

lore
Share & tools
lore
#0 lore raw

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 ;-)

#1 lore raw
Quoted 5 lines · Steven Rostedt

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.

yeah, indeed - fixed.

Quoted 3 lines

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 ;-)

hm. That's not supposed to happen. Could there be some wakeup or softirq processing problem?

Ingo

#2 lore raw
Quoted 11 lines · Ingo Molnar
Quoted 3 lines · Steven Rostedt

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 ;-)

hm. That's not supposed to happen. Could there be some wakeup or softirq processing problem?

Ingo

Well, it happened right after I installed the ath driver (from
http://svn.madwifi.org/trunk ). But I've recompiled my system with PREEMPT_RT and it works fine now. I can investigate it later, but I currently need this system working with a PREEMPT_RT kernel.

-- Steve