>>> But when we are crashing we have oops_in_progress set: >>> >>> ? ? ? ? WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() >>> ? ? ? ? ? ? ? ? ? ? ?&& !oops_in_progress); >>> >>> so this warning is never printed, right? >> >> Right. So just make sure the caller doesn't set the 'wait' argument. >> > > Please double check it. In powerpc crashdump ?case ?oops_in_progress is not set. > I tried this. Didn't get the warning. /Per