Subject: Re: any code to bind interrupt to specific CPU?
To: Joerg Sonnenberger <firstname.lastname@example.org>
From: Michael Lorenz <email@example.com>
Date: 12/07/2007 13:02:19
-----BEGIN PGP SIGNED MESSAGE-----
On Dec 7, 2007, at 12:39, Joerg Sonnenberger wrote:
> On Fri, Dec 07, 2007 at 01:43:55PM +0100, Joerg Sonnenberger wrote:
>> No. There's some code that is supposed to balance interrupts over
>> but I think it is utterly broken.
> Just to clarify -- the interrupts are scheduled to arrive at a
> CPU for the APIC case. The code is supposed to do a round-robin
> selection, but I don't think that code is working. You can enforce
> interrupts arrive at a specific CPU by manually changing the right
> when the interrupt is currently not routed. There is no API for that
It would be nice to have such an API - OpenPIC for instance allows
quite a lot of control over interrupt distribution, maybe we want to
use some of that at some point. Right now there's a kernel option to
select wether interrupts go to cpu0 or all CPUs but that might as
well be a sysctl.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----