]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
unconditionally stop other cpus when entering kdb in smp system
authorAndriy Gapon <avg@FreeBSD.org>
Sat, 25 Jun 2011 10:28:16 +0000 (10:28 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Sat, 25 Jun 2011 10:28:16 +0000 (10:28 +0000)
commit31c5a6e2b8de66a2bdaf69be8c209ae7ec7dc493
tree17edf70fb552a400a7cdf5e372418c5fae17e618
parent1aac6ac94a070ab24ceaf96086475a4d92df8df5
unconditionally stop other cpus when entering kdb in smp system

... and thus retire debug.kdb.stop_cpus tunable/sysctl.
The knob was to work around CPU stopping issues, which since have been
either fixed or greatly reduced.  kdb should really operate in a special
environment with scheduler stopped and interrupts disabled to provide
deterministic debugging.

Discussed with: attilio, rwatson
X-MFC after: 2 months or never
sys/kern/subr_kdb.c