diff options
author | Andriy Gapon <avg@FreeBSD.org> | 2011-06-25 10:01:43 +0000 |
---|---|---|
committer | Andriy Gapon <avg@FreeBSD.org> | 2011-06-25 10:01:43 +0000 |
commit | 1aac6ac94a070ab24ceaf96086475a4d92df8df5 (patch) | |
tree | 371a96fb0b9742cf615a8896f6654a72e564f2f8 /sys/kern/subr_kdb.c | |
parent | dbd57cbf8f7f3815b2eb47ecdbcbb6fc461128fa (diff) | |
download | src-1aac6ac94a070ab24ceaf96086475a4d92df8df5.tar.gz src-1aac6ac94a070ab24ceaf96086475a4d92df8df5.zip |
generic_stop_cpus: pull timeout logic from under DIAGNOSTIC
... and also increase the timeout.
It's better to try to proceed somehow despite stuck CPUs than to hang
indefinitely. Especially so during shutdown and when entering kdb or panic.
Timeout value is still an aribitrary value.
Timeout diagnostic is just a printf; the work on something more
debuggable is planned by attilio. Need to be careful here as
stop_cpus_hard is called very early while enetering kdb and soon(-ish)
it may become called very early when entering panic.
Reviewed by: attilio
MFC after: 2 months
Notes
Notes:
svn path=/head/; revision=223530
Diffstat (limited to 'sys/kern/subr_kdb.c')
0 files changed, 0 insertions, 0 deletions