login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
19
Re: [PATCH] X86: Change the default value of nr_irqs from 32 to NR_IRQs
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Yinghai Lu <yhlu.kernel@...>
To: Alex Nixon <alex.nixon@...>
Cc: Ingo Molnar <mingo@...>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@...>, Linux Kernel Mailing List <linux-kernel@...>
Subject:
Re: [PATCH] X86: Change the default value of nr_irqs from 32 to NR_IRQs
Date: Tuesday, August 19, 2008 - 3:00 pm
On Tue, Aug 19, 2008 at 11:32 AM, Alex Nixon <alex.nixon@citrix.com> wrote:
quoted text
> Yinghai Lu wrote: >> >> On Tue, Aug 19, 2008 at 11:13 AM, Alex Nixon (Intern) >> <Alex.Nixon@citrix.com> wrote: >>> >>> Yinghai Lu <yhlu.kernel@gmail.com> wrote: >>>> >>>> On Tue, Aug 19, 2008 at 9:55 AM, Alex Nixon <alex.nixon@citrix.com> >>>> wrote: >>>>> >>>>> If the number of discovered IRQs is suspiciously low, this patch causes >>>>> the number reported to default to NR_IRQS, rather than 32. NR_IRQS has >>>>> already been defined to be a >sensible value for the current system (in >>>>> particular, at least 224 when paravirtualisation is involved). >>>>> >>>> if only one ioapic, nr will be 24<<1, you will get 48. Does pv has io >>>> apic >>>> ? >>>> >>>> YH >>>> >>> I'm not sure about the general case, but Xen does not (Jeremy correct me >>> if >>> I'm wrong). >>> >>> Unless I'm missing something (which I may well be; I'm new to this area >>> of >>> code), it seems more logical anyway to default back to the calculated >>> system-specific value (NR_IRQS), instead of 32, which seems rather >>> arbitrary. >> >> can you try !CONFIG_HAVE_SPARSE_IRQ and CONFIG_HAVE_SPARSE_IRQ ? >> >> YH > > Sorry I should have mentioned originally - the bug occurs both with > CONFIG_HAVE_SPARSE_IRQ enabled, and disabled.
maybe we need special probe_nr_irqs for PV or not call that in setup_arch for xen -- it will leave nr_irqs == NR_IRQS YH --
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] X86: Change the default value of nr_irqs from 32...
, Yinghai Lu
, (Tue Aug 19, 2:24 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Alex Nixon
, (Tue Aug 19, 2:32 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Yinghai Lu
, (Tue Aug 19, 3:00 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Alex Nixon
, (Tue Aug 19, 3:50 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Yinghai Lu
, (Tue Aug 19, 4:52 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Alex Nixon
, (Tue Aug 19, 7:19 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Alex Nixon
, (Wed Aug 20, 7:23 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Yinghai Lu
, (Wed Aug 20, 7:47 pm)
Re: [PATCH] X86: Change the default value of nr_irqs from 32...
, Jeremy Fitzhardinge
, (Thu Aug 21, 7:21 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Parag Warudkar
BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
843 guests
online.
Online users
plianc20
strcmp
roundtheruggedd
ernestogordon37
Syndicate