Inspired by Morten's recent patch "sched: Make SD_BALANCE_WAKE a topology flag" (https://lkml.org/lkml/2016/5/23/173), I proposed to remove SD_WAKE_AFFINE and then replace it with SD_BALANCE_WAKE.
Here is the patchset. There should be no functionality change, and I think the semantics and names of the SD_BALANCE_* flags will be more "elegant". Make this a RFC, as maybe some kernel tuning scripts will be broken if there is any which disables SD_WAKE_AFFINE. -- Yuyang Du (2): sched: Clean up SD_BALANCE_WAKE flags in sched domain build-up sched: Remove SD_WAKE_AFFINE flag and replace it with SD_BALANCE_WAKE include/linux/sched.h | 1 - kernel/sched/core.c | 11 +++++------ kernel/sched/deadline.c | 2 +- kernel/sched/fair.c | 9 ++++----- kernel/sched/rt.c | 2 +- 5 files changed, 11 insertions(+), 14 deletions(-) -- 1.7.9.5