Date: Sat, 25 Jun 2011 10:01:43 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_smp.c Message-ID: <201106251002.p5PA24qx088644@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2011-06-25 10:01:43 UTC FreeBSD src repository Modified files: sys/kern subr_smp.c Log: SVN rev 223530 on 2011-06-25 10:01:43Z by avg 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 Revision Changes Path 1.230 +1 -3 src/sys/kern/subr_smp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106251002.p5PA24qx088644>