Re: Dumb question: BKL on reboot ?

From: Hannes Reinecke
Date: Thu Aug 21 2003 - 03:13:48 EST


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@xxxxxxx
SuSE Linux AG S390 & zSeries
Deutschherrnstr. 15-19 +49 911 74053 688
90429 NÃrnberg http://www.suse.de

-
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/