Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 12:25:02 -0400 (EDT)
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/65729: Document machdep.hlt_cpus sysctl 
Message-ID:  <200404181625.i3IGP2Dm003530@dibbler.crodrigues.org>
Resent-Message-ID: <200404181630.i3IGUN3L008709@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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