[PATCH][PowerPC] Remove ineffective CONFIG_IRQ_ALL_CPUS option
Livio Soares
livio at eecg.toronto.edu
Fri Jan 19 12:06:05 EST 2007
Sorry to reply to myself, but...
Livio Soares writes:
> Hello Ben,
>
> Benjamin Herrenschmidt writes:
> > On Wed, 2007-01-17 at 18:02 -0500, Livio Soares wrote:
>
> [...]
> On a side note, I probably need to make IRQ distribution configurable at
> run-time (for my personal work). I was thinking of exporting a bit-mask type
> structure through sysfs, to enable run-time configuration of CPUs which can
> receive interrupts (and possibly priorities). Would people be interested in such
> a patch?
Looking at the code, I found out that this is _already_ being done; through
setting affinities of interrupts. If you can get the bitmask right in
/proc/irq/[IRQ#]/smp_affinity, you can change the distribution of interrupts
(furthermore, potentially disable a particular IRQ altogether a particular
CPU).
Sorry for the noise,
Livio
More information about the Linuxppc-dev
mailing list