]> asedeno.scripts.mit.edu Git - linux.git/commit
sched/topology: Optimize build_group_mask()
authorLauro Ramos Venancio <lvenanci@redhat.com>
Thu, 20 Apr 2017 19:51:40 +0000 (16:51 -0300)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:26 +0000 (10:15 +0200)
commitf32d782e31bf079f600dcec126ed117b0577e85c
tree8b49791b14fc6d308f2994426096934f354c511e
parenta420b0630362c2c451060e6187e36d72df827134
sched/topology: Optimize build_group_mask()

The group mask is always used in intersection with the group CPUs. So,
when building the group mask, we don't have to care about CPUs that are
not part of the group.

Signed-off-by: Lauro Ramos Venancio <lvenanci@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: lwang@redhat.com
Cc: riel@redhat.com
Link: http://lkml.kernel.org/r/1492717903-5195-2-git-send-email-lvenanci@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/topology.c