Tweak the waitchannel messages for the dead lock detection kthread. Use
a shorter message (userland generally only sees the first 6 to 8 characters) when waiting for the allproc lock. Use "-" when idle to math the behavior of other kthreads. Reviewed by: attilio MFC after: 1 week
This commit is contained in:
parent
239da85bbc
commit
b58508045b
@ -195,7 +195,7 @@ deadlkres(void)
|
||||
panic("%s: possible deadlock detected on allproc_lock\n",
|
||||
__func__);
|
||||
tryl++;
|
||||
pause("allproc_lock deadlkres", sleepfreq * hz);
|
||||
pause("allproc", sleepfreq * hz);
|
||||
continue;
|
||||
}
|
||||
tryl = 0;
|
||||
@ -288,7 +288,7 @@ deadlkres(void)
|
||||
sx_sunlock(&allproc_lock);
|
||||
|
||||
/* Sleep for sleepfreq seconds. */
|
||||
pause("deadlkres", sleepfreq * hz);
|
||||
pause("-", sleepfreq * hz);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user