[Cbe-oss-dev] [PATCH 3:3] spusched: Fix spu interrupt routing
Christoph Hellwig
hch at lst.de
Fri Apr 25 18:33:45 EST 2008
On Thu, Apr 24, 2008 at 08:04:11PM -0300, Luke Browning wrote:
> Fix spu interrupt routing
>
> Route 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. Code previously routed to the current cpu which could
> may have been on a remote node. In the case of time slicing all spu
> interrupts were routed to the same cpu. 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.
Looks good to me. It would be nice to avoid the cpumask calculations
on every affinity set, but I can't think of a nice way to do that.
More information about the cbe-oss-dev
mailing list