Date: Sun, 25 Jun 2006 01:13:30 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 99957 for review Message-ID: <200606250113.k5P1DU73050452@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99957 Change 99957 by csjp@csjp_rnd01 on 2006/06/25 01:12:50 We can safely drop Giant here, these numbers are calculated in loadav(9) which is done via an MPSAFE callout. Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/vm/vm_meter.c#7 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/vm/vm_meter.c#7 (text+ko) ==== @@ -102,7 +102,7 @@ #endif return SYSCTL_OUT(req, &averunnable, sizeof(averunnable)); } -SYSCTL_PROC(_vm, VM_LOADAVG, loadavg, CTLTYPE_STRUCT|CTLFLAG_RD, +SYSCTL_PROC(_vm, VM_LOADAVG, loadavg, CTLTYPE_STRUCT|CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, 0, sysctl_vm_loadavg, "S,loadavg", "Machine loadaverage history"); static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606250113.k5P1DU73050452>