Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 04:31:02 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 98715 for review
Message-ID:  <200606070431.k574V2Hd071761@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98715

Change 98715 by kmacy@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606070431.k574V2Hd071761>