Re: [PATCH] x86_64: Dynamically allocate arch specific system vectors

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Mayer <ajm@...>
Cc: Cliff Wickman <cpw@...>, <jeremy@...>, <rusty@...>, <suresh.b.siddha@...>, <mingo@...>, <torvalds@...>, <linux-kernel@...>, Dean Nelson <dcn@...>
Date: Friday, August 1, 2008 - 6:14 pm

Alan Mayer <ajm@sgi.com> writes:


I don't know if it makes sense to modify assign_irq_vector or to 
have a companion function that uses the same data structures.

I think I would work on the companion function and if the code
can be made sufficiently similar merge the two functions.


Reasonable.  As long as you don't need to read a status register to figure
out what to do that sounds reasonable.  This does sound very much like
splitting hairs on a very platform specific capability.

If we can generalize the mechanism to things like per cpu timer
interrupts and such so that we reduced the total amount of code we
have to maintain I would find it a very compelling mechanism.


The number of interrupts sources is going to be smaller only because
SGI machines have or at least appear to have poor I/O compared to most
of the rest of machines in existence.  NR_CPUS*16 is a fairly
reasonable estimate on most machines in existence.  In the short term
it is going to get worse in the presence of MSI-X.  I was talking to a
developer at Intel last week about 256 irqs for one card.  I keep
having dreams about finding a way to just keep stats for a few cpus
but alas I don't think that is going to happen.  Silly us.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86_64: Dynamically allocate arch specific syst..., Eric W. Biederman, (Thu Jul 31, 6:10 pm)
Re: [PATCH] x86_64: Dynamically allocate arch specific syst..., Eric W. Biederman, (Fri Aug 1, 6:14 pm)