diff options
author | Tim Chen <tim.c.chen@linux.intel.com> | 2017-01-18 17:30:29 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-01-19 02:42:37 -0500 |
commit | 02cfdc95a0104fa5812d855d1e4ec687312aaa6f (patch) | |
tree | c853f4a44a91e6427edc96861d6e10ab3e259799 | |
parent | f21860bac05b609d71757338361d26209ff0759b (diff) |
sched/x86: Remove unnecessary TBM3 check to update topology
Scheduling to the max performance core is enabled by
default for Turbo Boost Maxt Technology 3.0 capable platforms.
Remove the useless sysctl_sched_itmt_enabled check to
update sched topology for adding the prioritized core scheduling
flag.
Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bp@suse.de
Cc: jolsa@redhat.com
Cc: linux-acpi@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: rjw@rjwysocki.net
Link: http://lkml.kernel.org/r/1484778629-4404-1-git-send-email-tim.c.chen@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/kernel/itmt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/itmt.c b/arch/x86/kernel/itmt.c index cb9c1ed1d391..f73f475d0573 100644 --- a/arch/x86/kernel/itmt.c +++ b/arch/x86/kernel/itmt.c | |||
@@ -132,10 +132,8 @@ int sched_set_itmt_support(void) | |||
132 | 132 | ||
133 | sysctl_sched_itmt_enabled = 1; | 133 | sysctl_sched_itmt_enabled = 1; |
134 | 134 | ||
135 | if (sysctl_sched_itmt_enabled) { | 135 | x86_topology_update = true; |
136 | x86_topology_update = true; | 136 | rebuild_sched_domains(); |
137 | rebuild_sched_domains(); | ||
138 | } | ||
139 | 137 | ||
140 | mutex_unlock(&itmt_update_mutex); | 138 | mutex_unlock(&itmt_update_mutex); |
141 | 139 | ||