All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/itmt: Remove unnecessary check to update topology
@ 2017-01-18 22:30 Tim Chen
  2017-01-19  9:11 ` [tip:sched/core] sched/x86: Remove unnecessary TBM3 " tip-bot for Tim Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Chen @ 2017-01-18 22:30 UTC (permalink / raw)
  To: rjw, tglx, mingo, bp
  Cc: Tim Chen, x86, linux-pm, linux-kernel, linux-acpi, peterz, jolsa,
	Srinivas Pandruvada

Scheduling to max performance core is enabled by
default for Turbo Boost Maxt Technology 3.0 capable platforms.
Remove useless sysctl_sched_itmt_enabled check to
update sched topology for adding prioritized core scheduling flag.

Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
---
 arch/x86/kernel/itmt.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/x86/kernel/itmt.c b/arch/x86/kernel/itmt.c
index cb9c1ed..f73f475 100644
--- a/arch/x86/kernel/itmt.c
+++ b/arch/x86/kernel/itmt.c
@@ -132,10 +132,8 @@ int sched_set_itmt_support(void)
 
 	sysctl_sched_itmt_enabled = 1;
 
-	if (sysctl_sched_itmt_enabled) {
-		x86_topology_update = true;
-		rebuild_sched_domains();
-	}
+	x86_topology_update = true;
+	rebuild_sched_domains();
 
 	mutex_unlock(&itmt_update_mutex);
 
-- 
2.5.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-19 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 22:30 [PATCH] x86/itmt: Remove unnecessary check to update topology Tim Chen
2017-01-19  9:11 ` [tip:sched/core] sched/x86: Remove unnecessary TBM3 " tip-bot for Tim Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.