Date: Fri, 16 Jul 2010 14:31:24 +0000 (UTC) From: Ivan Voras <ivoras@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r210166 - stable/8/sys/kern Message-ID: <201007161431.o6GEVOM6034778@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ivoras Date: Fri Jul 16 14:31:24 2010 New Revision: 210166 URL: http://svn.freebsd.org/changeset/base/210166 Log: MFC r208982,r208983,r210117 : cosmetic changes to kern.sched.topology_spec XML 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 Fri Jul 16 10:05:00 2010 (r210165) +++ stable/8/sys/kern/sched_ule.c Fri Jul 16 14:31:24 2010 (r210166) @@ -2658,14 +2658,16 @@ sysctl_kern_sched_topology_spec_internal } sbuf_printf(sb, "</cpu>\n"); - sbuf_printf(sb, "%*s <flags>", indent, ""); if (cg->cg_flags != 0) { + sbuf_printf(sb, "%*s <flags>", indent, ""); if ((cg->cg_flags & CG_FLAG_HTT) != 0) - sbuf_printf(sb, "<flag name=\"HTT\">HTT group</flag>\n"); + sbuf_printf(sb, "<flag name=\"HTT\">HTT group</flag>"); + if ((cg->cg_flags & CG_FLAG_THREAD) != 0) + sbuf_printf(sb, "<flag name=\"THREAD\">THREAD group</flag>"); if ((cg->cg_flags & CG_FLAG_SMT) != 0) - sbuf_printf(sb, "<flag name=\"THREAD\">SMT group</flag>\n"); + sbuf_printf(sb, "<flag name=\"SMT\">SMT group</flag>"); + sbuf_printf(sb, "</flags>\n"); } - sbuf_printf(sb, "</flags>\n"); if (cg->cg_children > 0) { sbuf_printf(sb, "%*s <children>\n", indent, "");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007161431.o6GEVOM6034778>