diff options
author | Luke Browning <lukebr@linux.vnet.ibm.com> | 2008-04-28 14:32:34 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-05-05 13:33:43 +1000 |
commit | 7a2142002f29a7b398c49da9bdec712dc57087c7 (patch) | |
tree | bd15498cbf76cabda2d42868ffc6936738d5c578 /arch/powerpc/platforms/cell/spufs/run.c | |
parent | 093c16bf9b107433643cbf0843ca7808df90823b (diff) | |
download | blackbird-op-linux-7a2142002f29a7b398c49da9bdec712dc57087c7.tar.gz blackbird-op-linux-7a2142002f29a7b398c49da9bdec712dc57087c7.zip |
[POWERPC] spufs: try to route SPU interrupts to local node
Currently, we re-route SPU interrupts to the current cpu, which may be
on a remote node. In the case of time slicing, all spu interrupts will
end up routed to the same cpu, where the spusched_tick occurs.
This change routes mfc interrupts to the cpu where the controlling
thread last ran, provided that cpu is on the same node as the spu
(otherwise don't reroute interrupts).
This should improve performance and provide a more predictable
environment for processing spu exceptions. In the past we have seen
concurrent delivery of spu exceptions to two cpus. This eliminates that
concern.
Signed-off-by: Luke Browning <lukebr@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/run.c')
0 files changed, 0 insertions, 0 deletions