diff options
author | Christoph Hellwig <hch@lst.de> | 2008-05-08 15:26:32 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-05-08 15:26:32 +1000 |
commit | 7a28a1549f9514f3b0dd3dde5c7337ba5d44fba3 (patch) | |
tree | 7a1e56a8ba110a7d1525f35d6ea6b4e7d761999e /arch/powerpc/kernel/setup_32.c | |
parent | 826be063eee9b4c2703fd86cfc9723bc391ff1cb (diff) |
[POWERPC] spufs: don't requeue victim contex in find_victim if it's not in spu_run
We should not requeue the victim context in find_victim if the owner is
not in spu_run. It's first not needed because leaving the context on
the spu is an optimization and second is harmful because it means the
owner could re-enter spu_run when the context is on the runqueue and
trip the BUG_ON in __spu_update_sched_info.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
0 files changed, 0 insertions, 0 deletions