Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 11:48:14 +0000 (UTC)
From:      Ivan Voras <ivoras@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208983 - head/sys/kern
Message-ID:  <201006101148.o5ABmEcq040414@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ivoras
Date: Thu Jun 10 11:48:14 2010
New Revision: 208983
URL: http://svn.freebsd.org/changeset/base/208983

Log:
  Unconfuse THREAD and SMT flags

Modified:
  head/sys/kern/sched_ule.c

Modified: head/sys/kern/sched_ule.c
==============================================================================
--- head/sys/kern/sched_ule.c	Thu Jun 10 11:01:17 2010	(r208982)
+++ head/sys/kern/sched_ule.c	Thu Jun 10 11:48:14 2010	(r208983)
@@ -2662,8 +2662,10 @@ sysctl_kern_sched_topology_spec_internal
 	if (cg->cg_flags != 0) {
 		if ((cg->cg_flags & CG_FLAG_HTT) != 0)
 			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>");
+			sbuf_printf(sb, "<flag name=\"SMT\">SMT group</flag>");
 	}
 	sbuf_printf(sb, "</flags>\n");
 



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