Preempted by idle thread?

From: Nigel Cunningham
Date: Tue May 11 2004 - 21:24:55 EST


Hi all.

I've been seeing some funny bad_scheduling_while_atomic messages that might be
my own fault (they only occur after suspending). The funny thing, though, is
that they are all the same, and show a calling chain:

schedule_tail -> preempt_schedule -> cpu_idle

Am I misunderstanding this, or is a thread being preempted by cpu_idle? If
that is the case, real work shouldn't be preempted to idle, should it?

Nigel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/