svn commit: r213194 - stable/8/sys/kern

Andriy Gapon avg at FreeBSD.org
Mon Sep 27 05:46:20 UTC 2010


Author: avg
Date: Mon Sep 27 05:46:20 2010
New Revision: 213194
URL: http://svn.freebsd.org/changeset/base/213194

Log:
  MFC r212821: kern.sched.topology_spec sysctl: use step of 1 for group
  levels numeration

Modified:
  stable/8/sys/kern/sched_ule.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/kern/sched_ule.c
==============================================================================
--- stable/8/sys/kern/sched_ule.c	Mon Sep 27 02:57:44 2010	(r213193)
+++ stable/8/sys/kern/sched_ule.c	Mon Sep 27 05:46:20 2010	(r213194)
@@ -2647,7 +2647,7 @@ sysctl_kern_sched_topology_spec_internal
 	int i, first;
 
 	sbuf_printf(sb, "%*s<group level=\"%d\" cache-level=\"%d\">\n", indent,
-	    "", indent, cg->cg_level);
+	    "", 1 + indent / 2, cg->cg_level);
 	sbuf_printf(sb, "%*s <cpu count=\"%d\" mask=\"0x%x\">", indent, "",
 	    cg->cg_count, cg->cg_mask);
 	first = TRUE;


More information about the svn-src-stable-8 mailing list