Thread (5 messages) flat view 5 messages, 2 authors, 2007-01-19

Re: [PATCH][PowerPC] Remove ineffective CONFIG_IRQ_ALL_CPUS option

From: Livio Soares <hidden>
Date: 2007-01-19 01:06:21

  Sorry to reply to myself, but...

Livio Soares writes:
  Hello Ben,

Benjamin Herrenschmidt writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help