Skip to contentSkip to conversation

BUG() in common/timer.c:cpu_callback()

DISCUSSION Jan Beulich 2 participants 3 messages Jan 7, 2011 – Jan 8, 2011

lore
Share & tools
lore
#0 lore raw

Keir,

shouldn't it only be the CPU_DEAD case where BUG() is called upon migrate_timers_from_cpu() returning non-zero? That is, shouldn't CPU_UP_CANCELED go together with CPU_DYING? From what I can tell, that's the reason for a crash Yinghai is seeing on a large system (there are other problems obviously, as CPU bringup shouldn't fail in the first place - I hope we can hunt that down soon).

Jan

#1 lore raw
Quoted 9 lines · Jan Beulich

Keir,

shouldn't it only be the CPU_DEAD case where BUG() is called upon migrate_timers_from_cpu() returning non-zero? That is, shouldn't CPU_UP_CANCELED go together with CPU_DYING? From what I can tell, that's the reason for a crash Yinghai is seeing on a large system (there are other problems obviously, as CPU bringup shouldn't fail in the first place - I hope we can hunt that down soon).

Good point. I'll fix it.

-- Keir

Quoted 2 lines

Jan

#2 lore raw
In reply to Jan Beulich
Quoted 9 lines · Jan Beulich

Keir,

shouldn't it only be the CPU_DEAD case where BUG() is called upon migrate_timers_from_cpu() returning non-zero? That is, shouldn't CPU_UP_CANCELED go together with CPU_DYING? From what I can tell, that's the reason for a crash Yinghai is seeing on a large system (there are other problems obviously, as CPU bringup shouldn't fail in the first place - I hope we can hunt that down soon).

It was more complicated to fix than I remembered, but it's done now.

-- Keir

Quoted 2 lines

Jan