]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
remove stop_scheduler_on_panic knob
authorAndriy Gapon <avg@FreeBSD.org>
Sun, 25 Nov 2012 14:22:08 +0000 (14:22 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Sun, 25 Nov 2012 14:22:08 +0000 (14:22 +0000)
commit6898bee9a96b954f3796581c906f561a34ebd84d
tree43f747f04b7785950c9a6da408145c57aa832449
parent64ad6bf196f7534229aa6e84c353683a8321fb46
remove stop_scheduler_on_panic knob

There has not been any complaints about the default behavior, so there
is no need to keep a knob that enables the worse alternative.

Now that the hard-stopping of other CPUs is the only behavior, the panic_cpu
spinlock-like logic can be dropped, because only a single CPU is
supposed to win stop_cpus_hard(other_cpus) race and proceed past that
call.

MFC after: 1 month
sys/kern/kern_shutdown.c