]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Expose default irq affinity mask (take 3)
authorMax Krasnyansky <maxk@qualcomm.com>
Thu, 29 May 2008 18:02:52 +0000 (11:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Jun 2008 13:18:30 +0000 (15:18 +0200)
commitfdd62585f1cdfb4306a1045c7800bf4b328056cc
treeed426f8fe90bff1ffd854074a2e4b370dd6821f8
parent133ec7b94a4402777370d0c53f7067395f8dddd1
genirq: Expose default irq affinity mask (take 3)

Current IRQ affinity interface does not provide a way to set affinity
for the IRQs that will be allocated/activated in the future.
This patch creates /proc/irq/default_smp_affinity that lets users set
default affinity mask for the newly allocated IRQs. Changing the default
does not affect affinity masks for the currently active IRQs, they
have to be changed explicitly.

Updated based on Paul J's comments and added some more documentation.

Signed-off-by: Max Krasnyansky <maxk@qualcomm.com>
Cc: pj@sgi.com
Cc: a.p.zijlstra@chello.nl
Cc: tglx@linutronix.de
Cc: rdunlap@xenotime.net
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/IRQ-affinity.txt
Documentation/filesystems/proc.txt
arch/alpha/kernel/irq.c
include/linux/interrupt.h
include/linux/irq.h
kernel/irq/manage.c
kernel/irq/proc.c