Skip to content

Commit

Permalink
sched/x86: Remove unnecessary TBM3 check to update topology
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Srinivas Pandruvada <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
pdxChen authored and Ingo Molnar committed Jan 19, 2017
1 parent f21860b commit 02cfdc9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/x86/kernel/itmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 02cfdc9

Please sign in to comment.