]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1832dc7f95ca06b37486845a2bf460c0a7b6adcd
tree7e7d528dcc1cccf71215ebb5b8774a849e5a1753
parentfa76feb6a867e405b407247f9c06a11a1a364cde
[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