Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153718175
D42460.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
348 B
Referenced Files
None
Subscribers
None
D42460.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42460: reboot: Avoid unlocking Giant if the scheduler is stopped
Attached
Detach File
Event Timeline
Log In to Comment