mach

Craig Rodrigues rodrigc at crodrigues.org
Fri Mar 5 15:47:30 PST 2004


Hi,

I am trying to figure out what the machdep.hlt_cpus
does, in order to add some text for sysctl -d :

sysctl -d machdep.hlt_cpus
machdep.hlt_cpus:


Would this be an accurate description?

--- sys/amd64/amd64/mp_machdep.c.orig   Fri Mar  5 18:46:51 2004
+++ sys/amd64/amd64/mp_machdep.c        Fri Mar  5 18:46:53 2004
@@ -1015,7 +1015,7 @@
        return (error);
 }
 SYSCTL_PROC(_machdep, OID_AUTO, hlt_cpus, CTLTYPE_INT|CTLFLAG_RW,
-    0, 0, sysctl_hlt_cpus, "IU", "");
+    0, 0, sysctl_hlt_cpus, "IU", "Number of CPUS in HLT state");
 
 static int
 sysctl_hlt_logical_cpus(SYSCTL_HANDLER_ARGS)

 
-- 
Craig Rodrigues        
http://crodrigues.org
rodrigc at crodrigues.org


More information about the freebsd-amd64 mailing list