> The load average on my machine is inexplicably high; when idle, it sits up
> between 0.6 and 0.7.
Oh my god, the horror. Nothing is wrong with your machine at all.
However, I have a diff which will probably keep you happy.
Index: uvm_meter.c
===================================================================
RCS file: /cvs/src/sys/uvm/uvm_meter.c,v
retrieving revision 1.24
diff -u -r1.24 uvm_meter.c
--- uvm_meter.c 15 Dec 2007 03:42:57 -0000 1.24
+++ uvm_meter.c 7 Nov 2008 17:11:45 -0000
@@ -138,6 +138,7 @@
int rv, t;
struct _ps_strings _ps = { PS_STRINGS };
extern int uvm_km_pages_free;
+ struct loadavg gerow_averunnable;
switch (name[0]) {
case VM_SWAPENCRYPT:
@@ -156,8 +157,9 @@
switch (name[0]) {
case VM_LOADAVG:
- return (sysctl_rdstruct(oldp, oldlenp, newp, &averunnable,
- sizeof(averunnable)));
+ bzero(&gerow_averunnable, sizeof gerow_averunnable);
+ return (sysctl_rdstruct(oldp, oldlenp, newp, &gerow_averunnable,
+ sizeof(gerow_averunnable)));
case VM_METER:
uvm_total(&vmtotals);