login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
10
Re: [patch 11/26] x64, x2apic/intr-remap: generic irq migration support from process context
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Eric W. Biederman <ebiederm@...>
To: Suresh Siddha <suresh.b.siddha@...>
Cc: <mingo@...>, <hpa@...>, <tglx@...>, <akpm@...>, <arjan@...>, <andi@...>, <ebiederm@...>, <jbarnes@...>, <steiner@...>, <linux-kernel@...>
Subject:
Re: [patch 11/26] x64, x2apic/intr-remap: generic irq migration support from process context
Date: Thursday, July 10, 2008 - 7:08 pm
Suresh Siddha <suresh.b.siddha@intel.com> writes:
quoted text
> Generic infrastructure for migrating the irq from the process context in the > presence of CONFIG_GENERIC_PENDING_IRQ. > > This will be used later for migrating irq in the presence of > interrupt-remapping.
Why the API difference between IRQ_MOVE_PCNTXT set affinity handlers and !CONFIG_GENERIC_PENDING_IRQ handlers?
quoted text
> #ifdef CONFIG_GENERIC_PENDING_IRQ > - set_pending_irq(irq, cpumask); > + if (desc->status & IRQ_MOVE_PCNTXT) { > + unsigned long flags; > + > + spin_lock_irqsave(&desc->lock, flags); > + desc->chip->set_affinity(irq, cpumask); > + spin_unlock_irqrestore(&desc->lock, flags); > + } else > + set_pending_irq(irq, cpumask); > #else > desc->affinity = cpumask; > desc->chip->set_affinity(irq, cpumask); > > --
--
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 11/26] x64, x2apic/intr-remap: generic irq migration ...
, Suresh Siddha
, (Thu Jul 10, 2:16 pm)
Re: [patch 11/26] x64, x2apic/intr-remap: generic irq migrat...
, Eric W. Biederman
, (Thu Jul 10, 7:08 pm)
Re: [patch 11/26] x64, x2apic/intr-remap: generic irq migrat...
, Suresh Siddha
, (Fri Jul 11, 1:41 am)
Re: [patch 11/26] x64, x2apic/intr-remap: generic irq migrat...
, Eric W. Biederman
, (Fri Jul 11, 5:19 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Benjamin Herrenschmidt
Re: [PATCH] Remove process freezer from suspend to RAM pathway
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Mariusz Kozlowski
[PATCH 03] drivers/sbus/char/bbc_envctrl.c: kmalloc + memset conversion to kzalloc
Yinghai Lu
[PATCH 02/16] x86: introduce nr_irqs for 64bit v3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 13/37] dccp: Deprecate Ack Ratio sysctl
James Morris
Re: [GIT]: Networking
Jeff Garzik
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
git-commits-head
:
Colocation donated by:
Who's online
There are currently
1 user
and
1171 guests
online.
Online users
strcmp
Syndicate