commit | ea1ae5949d7fcd2e622226ba71741a0f43b6ef0a | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 29 10:57:56 2007 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Tue Jul 03 15:24:45 2007 +1000 |
tree | 869e76ffe14b24f0d3aa92f9d6ed267a3326cc08 | |
parent | 2cf2b3b49f10d2f4a0703070fc54ce1cd84a6cda [diff] |
[POWERPC] spusched: fix cpu/node binding Add a cpus_allowed allowed filed to struct spu_context so that we always use the cpu mask of the owning thread instead of the one happening to call into the scheduler. Also use this information in grab_runnable_context to avoid spurious wakeups. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>