Skip to contentSkip to conversation

Preempted by idle thread?

DISCUSSION Nigel Cunningham 1 participant 1 message May 12, 2004

lore
Share & tools
lore
#0 lore raw

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