login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
18
Re: [PATCH 2/2] Xen: Fix memory access violation bug when CONFIG_HAVE_SPARSE_IRQ is enabled
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jeremy Fitzhardinge <jeremy@...>
To: Alex Nixon <alex.nixon@...>
Cc: Ingo Molnar <mingo@...>, the arch/x86 maintainers <x86@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: [PATCH 2/2] Xen: Fix memory access violation bug when CONFIG_HAVE_SPARSE_IRQ is enabled
Date: Monday, August 18, 2008 - 5:39 pm
Alex Nixon wrote:
quoted text
> From: Alex Nixon <alex.nixon@citrix.com> > Date: Mon, 18 Aug 2008 14:15:11 +0100 > Subject: [PATCH] Xen: Fix memory access violation bug when CONFIG_HAVE_SPARSE_IRQ is enabled > > When sparse IRQs are enabled, it is not safe to assume an IRQ descriptor exists for every possible IRQ. This patch causes init_evtchn_cpu_bindings to skip initialisation of IRQ descriptors which don't exist. > > Signed-off-by: Alex Nixon <alex.nixon@citrix.com> >
Thanks again, Alex. Ingo, please apply. Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
quoted text
> --- > drivers/xen/events.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/drivers/xen/events.c b/drivers/xen/events.c > index 74dca12..6e7e765 100644 > --- a/drivers/xen/events.c > +++ b/drivers/xen/events.c > @@ -141,6 +141,8 @@ static void init_evtchn_cpu_bindings(void) > /* By default all event channels notify CPU#0. */ > for (i = 0; i < nr_irqs; i++) { > struct irq_desc *desc = to_irq_desc(i); > + if (!desc) > + continue; > desc->affinity = cpumask_of_cpu(0); > } > #endif >
--
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:
Re: [PATCH 2/2] Xen: Fix memory access violation bug when CO...
, Jeremy Fitzhardinge
, (Mon Aug 18, 5:39 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
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
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().
David Miller
Re: [GIT]: Networking
Jarek Poplawski
[PATCH iproute2] Re: HTB accuracy for high speed
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
636 guests
online.
Online users
strcmp
xpertlando
lovely16
Syndicate