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:
John Baldwin 2010-11-02 18:34:31 +00:00
parent 239da85bbc
commit b58508045b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214682

View File

@ -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);
}
}