Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81147
b: refs/heads/master
c: b192541
h: refs/heads/master
i:
  81145: fea01c1
  81143: 8854e5a
v: v3
  • Loading branch information
Luke Browning authored and Paul Mackerras committed Dec 21, 2007
1 parent 24f50f7 commit bcba801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91569531d1297db42d68136ac0c85cd85223d0b9
refs/heads/master: b192541b39ed29ff82f9f2d5427f451e89617f1c
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ static struct spu *find_victim(struct spu_context *ctx)
}

spu = victim->spu;
if (!spu) {
if (!spu || victim->prio <= ctx->prio) {
/*
* This race can happen because we've dropped
* the active list mutex. No a problem, just
* the active list mutex. Not a problem, just
* restart the search.
*/
mutex_unlock(&victim->state_mutex);
Expand Down

0 comments on commit bcba801

Please sign in to comment.