[PATCH] sched: make idlest_group/cpu cpus_allowed-aware
authorM.Baris Demiray <baris@labristeknoloji.com>
Sat, 10 Sep 2005 07:26:09 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:22 +0000 (10:06 -0700)
commitda5a5522709a030da91932d4d4c2b179a481a8c0
tree7e7d528dcc1cccf71215ebb5b8774a849e5a1753
parentfc38ed7531eefa332c8c69ee288487860cd6b426
[PATCH] sched: make idlest_group/cpu cpus_allowed-aware

Add relevant checks into find_idlest_group() and find_idlest_cpu() to make
them return only the groups that have allowed CPUs and allowed CPUs
respectively.

Signed-off-by: M.Baris Demiray <baris@labristeknoloji.com>
Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c