From efb42707463e42815de3eefd2d8e3bd7314d9db2 Mon Sep 17 00:00:00 2001 From: atatat Date: Fri, 17 Jun 2005 23:53:21 +0000 Subject: [PATCH] Comment in new cp_id implementation was wrong since I abandoned rewriting it in favor of some testing and then never got back to it. It's better now. --- sys/kern/init_sysctl.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sys/kern/init_sysctl.c b/sys/kern/init_sysctl.c index e7285daf296d..45b4b42ddaed 100644 --- a/sys/kern/init_sysctl.c +++ b/sys/kern/init_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: init_sysctl.c,v 1.45 2005/06/16 14:55:58 christos Exp $ */ +/* $NetBSD: init_sysctl.c,v 1.46 2005/06/17 23:53:21 atatat Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.45 2005/06/16 14:55:58 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.46 2005/06/17 23:53:21 atatat Exp $"); #include "opt_sysv.h" #include "opt_multiprocessor.h" @@ -2477,12 +2477,9 @@ sysctl_kern_cpid(SYSCTLFN_ARGS) CPU_INFO_ITERATOR cii; /* - * if you specifically pass a buffer that is the size of a single cpuid - * sum, or if you are probing for the size, you get the "sum" - * of cp_time (and the size thereof) across all processors. - * - * alternately, you can pass an additional mib number and get - * cp_time for that particular processor. + * here you may either retrieve a single cpu id or the whole + * set. the size you get back when probing depends on what + * you ask for. */ switch (namelen) { case 0: