PERFORCE change 98715 for review
Kip Macy
kmacy at FreeBSD.org
Wed Jun 7 04:34:51 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=98715
Change 98715 by kmacy at kmacy_storage:sun4v_work on 2006/06/07 04:30:30
make spinlock sampling interval prime
Affected files ...
.. //depot/projects/kmacy_sun4v/src/sys/kern/kern_mutex.c#9 edit
Differences ...
==== //depot/projects/kmacy_sun4v/src/sys/kern/kern_mutex.c#9 (text+ko) ====
@@ -125,7 +125,7 @@
&spin_prof_enable, 0, "Enable tracing of spinlock holdtime");
u_int spin_total = 0;
uint64_t spin_count = 0;
-u_int spin_scale = 100;
+u_int spin_scale = 101;
SYSCTL_UINT(_debug_spinlock_prof, OID_AUTO, total, CTLFLAG_RD,
&spin_total, 0, "Number of spinlock spins recorded");
SYSCTL_UINT(_debug_spinlock_prof, OID_AUTO, count, CTLFLAG_RD,
More information about the p4-projects
mailing list