login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
23
Re: [PATCH] [genirq] Expose default irq affinity mask
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Max Krasnyanskiy <maxk@...>
To: Randy Dunlap <rdunlap@...>
Cc: <mingo@...>, <linux-kernel@...>, <pj@...>, <a.p.zijlstra@...>, <tglx@...>
Subject:
Re: [PATCH] [genirq] Expose default irq affinity mask
Date: Friday, May 23, 2008 - 4:50 pm
Randy Dunlap wrote:
quoted text
> On Fri, 23 May 2008 12:46:35 -0700 Max Krasnyansky wrote: > >> 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 default >> does not affect affinity masks for the currently active IRQs, they >> have to be changed explicitly. > > Documentation, perhaps an update to Documentation/filesystems/proc.txt ?
Absolutely. I wanted to see if it gets accepted first.
quoted text
> >> Signed-off-by: Max Krasnyansky <maxk@qualcomm.com> >> --- >> arch/alpha/kernel/irq.c | 5 +-- >> include/linux/irq.h | 14 ++++------- >> kernel/irq/manage.c | 28 +++++++++++++++++++++- >> kernel/irq/proc.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++- >> 4 files changed, 89 insertions(+), 15 deletions(-) >> >> diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c >> index 438a014..90f9ccc 100644 >> --- a/kernel/irq/manage.c >> +++ b/kernel/irq/manage.c >> @@ -16,6 +16,8 @@ >> >> #ifdef CONFIG_SMP >> >> +cpumask_t irq_default_affinity = CPU_MASK_ALL; >> + >> /** >> * synchronize_irq - wait for pending IRQ handlers (on other CPUs) >> * @irq: interrupt number to wait for >> @@ -94,6 +96,27 @@ int irq_set_affinity(unsigned int irq, cpumask_t cpumask) >> return 0; >> } >> >> +#ifndef CONFIG_AUTO_IRQ_AFFINITY >> +/** >> + * Generic version of the affinity autoselector. >> + */ > > Please don't use /** as the beginning of a comment block unless that > comment block is in kernel-doc format (this one is not).
Oops, my bad. Did it again. Will fix. Max --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [genirq] Expose default irq affinity mask
, Max Krasnyansky
, (Fri May 23, 3:46 pm)
Re: [PATCH] [genirq] Expose default irq affinity mask
, Randy Dunlap
, (Fri May 23, 4:47 pm)
Re: [PATCH] [genirq] Expose default irq affinity mask
, Max Krasnyanskiy
, (Fri May 23, 4:50 pm)
Re: [PATCH] [genirq] Expose default irq affinity mask
, Paul Jackson
, (Fri May 23, 6:54 pm)
Re: [PATCH] [genirq] Expose default irq affinity mask
, Max Krasnyanskiy
, (Fri May 23, 8:39 pm)
Re: [PATCH] [genirq] Expose default irq affinity mask
, Paul Jackson
, (Fri May 23, 8:53 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Nigel Cunningham
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Paul Mundt
Re: 2.6.22-rc4-mm2
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Arjan van de Ven
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Natalie Protasevich
[BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
663 guests
online.
Online users
strcmp
maheshdm
Syndicate