diff options
author | Peter Zijlstra <[email protected]> | 2017-05-01 08:51:05 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-05-15 10:15:33 +0200 |
commit | af218122b103900fa33d408aea0c2468791e698c (patch) | |
tree | 14382323899a0c140c07e71b27c431a10ac70b36 /lib/netdev-notifier-error-inject.c | |
parent | 0c0e776a9b0f21ac41d4c6982c57493928524dba (diff) |
sched/topology: Simplify sched_group_mask() usage
While writing the comments, it occurred to me that:
sg_cpus & sg_mask == sg_mask
at least conceptually; the !overlap case sets the all 1s mask. If we
correct that we can simplify things and directly use sg_mask.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions