diff options
author | Peter Zijlstra <[email protected]> | 2017-05-03 14:18:06 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-05-15 10:15:32 +0200 |
commit | 0c0e776a9b0f21ac41d4c6982c57493928524dba (patch) | |
tree | 45726990dc35bbf10fe53ea248bd43e339e254cc /lib/netdev-notifier-error-inject.c | |
parent | 35a566e6e8a18c3bc16229abeac146a707b8f216 (diff) |
sched/topology: Rewrite get_group()
We want to attain:
sg_cpus() & sg_mask() == sg_mask()
for this to be so we must initialize sg_mask() to sg_cpus() for the
!overlap case (its currently cpumask_setall()).
Since the code makes my head hurt bad, rewrite it into a simpler form,
inspired by the now fixed overlap code.
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