Skip to content
Commit 7a28a154 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jeremy Kerr
Browse files

[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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent 826be063
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment