svn commit: r214682 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Tue Nov 2 18:34:32 UTC 2010
Author: jhb
Date: Tue Nov 2 18:34:31 2010
New Revision: 214682
URL: http://svn.freebsd.org/changeset/base/214682
Log:
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
Modified:
head/sys/kern/kern_clock.c
Modified: head/sys/kern/kern_clock.c
==============================================================================
--- head/sys/kern/kern_clock.c Tue Nov 2 17:56:16 2010 (r214681)
+++ head/sys/kern/kern_clock.c Tue Nov 2 18:34:31 2010 (r214682)
@@ -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);
}
}
More information about the svn-src-head
mailing list