Re: [PATCH] BUG(): sched.c: Line 944

From: Robert Love (
Date: Tue Sep 17 2002 - 15:06:34 EST

On Tue, 2002-09-17 at 15:54, Steven Cole wrote:

Thank you for the testing, Steven.

> Running dbench 3 resulted in the dbench clients hanging and being
> unkillable with kill -9 in the D state.

Hrm, I cannot reproduce this. I just successfully completed a `dbench
16'. Can you find where they are hanging? You can get a trace via
sysrq. You can also see where they are in the kernel via the wchan
field of ps: "ps -ewo user,pid,priority,%cpu,stat,command,wchan" is a
favorite of mine.

Sure it does not happen with a stock kernel (no preempt)?

What if you replace the printk() and dump_stack() in schedule() with a
no-op (but not something that will optimize away the conditional, i.e.
try a cpu_relax()).

Oh, is the previous patch fully backed out? None of that do_exit muck
anymore, right?

> Test box is 2-way pIII, kernel SMP.

I too am SMP with kernel preemption, dual Athlon MP.


        Robert Love

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:20 EST