Page MenuHomeFreeBSD

D42460.diff
No OneTemporary

D42460.diff

diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -471,7 +471,7 @@
* deadlock than to lock against code that won't ever
* continue.
*/
- while (mtx_owned(&Giant))
+ while (!SCHEDULER_STOPPED() && mtx_owned(&Giant))
mtx_unlock(&Giant);
#if defined(SMP)

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 24, 4:40 AM (11 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32060486
Default Alt Text
D42460.diff (348 B)

Event Timeline