diff options
author | Christoph Hellwig <hch@lst.de> | 2007-02-13 20:54:27 (GMT) |
---|---|---|
committer | Arnd Bergmann <arnd@klappe.arndb.de> | 2007-02-13 20:55:42 (GMT) |
commit | 52f04fcf66a5d5d90790d6cfde52e391ecf2b882 (patch) | |
tree | 1fe7e3220964ddff413975fd76fde0e7fcb4fd95 /arch/powerpc/platforms/cell/spufs/spufs.h | |
parent | ae7b4c5284d11d49ed9432c16505fcbeb8d3b8cf (diff) | |
download | linux-fsl-qoriq-52f04fcf66a5d5d90790d6cfde52e391ecf2b882.tar.xz |
[POWERPC] spu sched: forced preemption at execution
If we start a spu context with realtime priority we want it to run
immediately and not wait until some other lower priority thread has
finished. Try to find a suitable victim and use it's spu in this
case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/spufs.h')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/spufs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/spufs.h b/arch/powerpc/platforms/cell/spufs/spufs.h index 421f591..85b182d 100644 --- a/arch/powerpc/platforms/cell/spufs/spufs.h +++ b/arch/powerpc/platforms/cell/spufs/spufs.h @@ -83,6 +83,7 @@ struct spu_context { /* scheduler fields */ struct list_head rq; unsigned long sched_flags; + unsigned long rt_priority; int prio; }; |