Re: Dumb question: BKL on reboot ?

Hannes Reinecke
2003-08-21T08:05:28Z

Dave Hansen wrote:
[ .. ]
>
> Or, are you saying that a CPU could have the BKL, and have
> stop_this_cpu() called on it? I guess we could add
> release_kernel_lock() to stop_this_cpu().
Exactly what happened here. CPU#1 entered sys_reboot, got BKL and
prepared to stop. It will never release BKL, leaving a nice big window
for CPU#0 to deadlock.

releasing BKL before calling do_machine_restart seems to do the trick,
though.

Cheers,

Hannes
--
Dr. Hannes Reinecke hare@suse.de
SuSE Linux AG S390 & zSeries
Deutschherrnstr. 15-19 +49 911 74053 688
90429 Nürnberg http://www.suse.de