lkml.org 
[lkml]   [2008]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86: make NR_IRQS on 32bit is same to 64bit
From
Date
On Tue, 2008-11-04 at 14:10 -0800, Yinghai Lu wrote:
>
> Impact: so NR_IRQS is bigger enough for system with lots of apic/pins
>
> Now: if IO_APIC is there, will have big NR_IRQS
>
> otherwise still use 224
[...]

I have no idea whether this is useful, but it doesn't solve the general
problem that probe_nr_irqs() can return a value > NR_IRQS. So far as I
can see it can return up to 2 * 24 * MAX_IO_APICS which may be greater
than NR_VECTORS + (32 * max(MAX_IO_APICS, NR_CPUS)).

Ben.

--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.



\
 
 \ /
  Last update: 2008-11-04 23:31    [W:0.068 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site