login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
25
Re: [PATCH] x86_64: resize NR_IRQS for large machines
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Pavel Machek <pavel@...>
To: Alan Mayer <ajm@...>
Cc: <torvalds@...>, <mingo@...>, linux-kernel list <linux-kernel@...>, Robin Holt <holt@...>, Jack Steiner <steiner@...>, Russ Anderson <rja@...>
Subject:
Re: [PATCH] x86_64: resize NR_IRQS for large machines
Date: Tuesday, March 25, 2008 - 7:10 pm
Hi!
quoted text
> Subject: [PATCH] x86_64: resize NR_IRQS for large machines > > From: Alan Mayer <ajm@sgi.com> > > On machines with very large numbers of cpus, tables that are dimensioned > by NR_IRQS get very large, especially the irq_desc table. They are also > very sparsely used. When the cpu count is > MAX_IO_APICS, use MAX_IO_APICS > to set NR_IRQS, otherwise use NR_CPUS. > > Signed-off-by: Alan Mayer <ajm@sgi.com> > > Reviewed-by: Christoph Lameter <clameter@sgi.com>
quoted text
> =================================================================== > --- v2.6.25-rc6.orig/include/asm-x86/irq_64.h 2008-03-19 16:52:52.000000000 -0500 > +++ v2.6.25-rc6/include/asm-x86/irq_64.h 2008-03-20 16:46:51.000000000 -0500 > @@ -10,6 +10,10 @@ > * <tomsoft@informatik.tu-chemnitz.de> > */ > > +#if !defined(MAX_IO_APICS) > +#include <asm/apicdef.h> > +#endif > +
This is very ugly. Why not include it unconditionally -- with guard in apicdef.h? Pavel -- (english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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] x86_64: resize NR_IRQS for large machines
, Alan Mayer
, (Mon Mar 24, 10:31 am)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Pavel Machek
, (Tue Mar 25, 7:10 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Alan Mayer
, (Wed Mar 26, 2:49 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Linus Torvalds
, (Wed Mar 26, 12:29 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Alan Mayer
, (Wed Mar 26, 2:55 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Eric W. Biederman
, (Sat Apr 12, 4:12 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Ingo Molnar
, (Tue Mar 25, 12:19 pm)
Re: [PATCH] x86_64: resize NR_IRQS for large machines
, Alan Mayer
, (Tue Mar 25, 12:24 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Hiten Pandya
Re: up? (emacs docbook xml ide)
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Daniel Eischen
Re: error with thread
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
12 users
and
842 guests
online.
Online users
webdesignlouis
bananahou
acaipurereview
fapturboreview
itjobsqmzsrwtt
andy706
knoxvilleinvis
forexproductre
stopsmokingdgc
coachf12869khdp
gpscartracking
runyourcaronwa
Syndicate