Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164847455
D38655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38655.diff
View Options
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -603,7 +603,7 @@
#endif
struct lock_delay_arg lda;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
goto out;
tid = (uintptr_t)curthread;
@@ -789,7 +789,7 @@
#endif
struct lock_delay_arg lda;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
goto out;
tid = (uintptr_t)curthread;
@@ -985,7 +985,7 @@
int error = 0;
int op;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
goto out;
tid = (uintptr_t)curthread;
@@ -1046,7 +1046,7 @@
u_int op;
bool locked;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
return (0);
op = flags & LK_TYPE_MASK;
@@ -1109,7 +1109,7 @@
{
int wakeup_swapper = 0;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
goto out;
wakeup_swapper = wakeupshlk(lk, file, line);
@@ -1128,7 +1128,7 @@
u_int realexslp;
int queue;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
goto out;
tid = (uintptr_t)curthread;
@@ -1320,7 +1320,7 @@
int contested = 0;
#endif
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
return (0);
error = 0;
@@ -1729,7 +1729,7 @@
{
int slocked = 0;
- if (KERNEL_PANICKED())
+ if (SCHEDULER_STOPPED())
return;
switch (what) {
case KA_SLOCKED:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 5, 7:38 AM (19 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36014887
Default Alt Text
D38655.diff (1 KB)
Attached To
Mode
D38655: lockmgr: upgrade panic return checks
Attached
Detach File
Event Timeline
Log In to Comment