i386/65729: Document machdep.hlt_cpus sysctl

Craig Rodrigues rodrigc at crodrigues.org
Sun Apr 18 09:30:25 PDT 2004


>Number:         65729
>Category:       i386
>Synopsis:       Document machdep.hlt_cpus sysctl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 18 09:30:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Craig Rodrigues
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD dibbler.crodrigues.org 5.2-CURRENT FreeBSD 5.2-CURRENT #44: Sat Apr 17 14:08:47 EDT 2004 rodrigc at dibbler.crodrigues.org:/usr/obj/usr/src/sys/MYKERNEL1 i386


	
>Description:
    Document machdep.hlt_cpus for i386, as it has been done for
    amd64:
      http://lists.freebsd.org/mailman/htdig/freebsd-amd64/2004-March/000885.html 
>How-To-Repeat:
	
>Fix:


--- sys/i386/i386/mp_machdep.c.orig	Sun Apr 18 12:12:16 2004
+++ sys/i386/i386/mp_machdep.c	Sun Apr 18 12:14:33 2004
@@ -1230,7 +1230,8 @@
 	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", 
+    "Bitmap of CPUs to halt.  101 (binary) will halt CPUs 0 and 2.");
 
 static int
 sysctl_hlt_logical_cpus(SYSCTL_HANDLER_ARGS)
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list