diff options
author | Peter Zijlstra <[email protected]> | 2017-08-08 12:16:24 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-08-25 11:12:20 +0200 |
commit | 09e0dd8e0f2e197690d34fed8cb4737114d3dd5f (patch) | |
tree | 5f44fac23c7fc9f088a99d47d78e98cb0f53b1c3 /kernel/sched/debug.c | |
parent | 77d1dfda0e79b41894880418f04794e92e4350e2 (diff) |
sched/topology: Avoid pointless rebuild
Fix partition_sched_domains() to try and preserve the existing machine
wide domain instead of unconditionally destroying it. We do this by
attempting to allocate the new single domain, only when that fails to
we reuse the fallback_doms.
When using fallback_doms we need to first destroy and then recreate
because both the old and new could be backed by it.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Ofer Levi(SW) <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'kernel/sched/debug.c')
0 files changed, 0 insertions, 0 deletions