login
Header Space

 
 

Re: [RFC 8/8] x86_64: Support for new UV apic

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jack Steiner <steiner@...>
Cc: <mingo@...>, <tglx@...>, <linux-mm@...>, <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 6:25 am

Jack Steiner <steiner@sgi.com> writes:


Really caller should have done preempt_disable(), otherwise
the value can be wrong as soon as you return.

Better probably to just WARN_ON if preemption is on

(just be careful it does not trigger in oopses and machine checks)


GPL export too?


Actually it should be correct. Except for UV you likely really need a
NUMA aware irqbalanced. I used to have some old very hackish patches
to implement that in irqbalanced, but never pushed it because the
systems I was working on didn't really need it.



Instead of doing that it might be better to implement __read_mostly per CPU variables
(should not be very hard) 


This could disable interrupts for a long time could't it?  Really needed?



255?  Strange poison value.


Definitely should be a CONFIG


This should be probably factored properly (didn't Jeremy have smp_ops 
for this some time ago) so that even the default case is a call.


Dito.


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

Messages in current thread:
[RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Mon Mar 24, 2:21 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Sun Mar 30, 4:41 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Sun Mar 30, 5:08 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Sun Mar 30, 7:24 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Ingo Molnar, (Tue Mar 25, 10:30 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Tue Mar 25, 12:31 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Glauber Costa, (Tue Mar 25, 11:24 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Andi Kleen, (Tue Mar 25, 6:25 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Tue Mar 25, 1:56 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Ingo Molnar, (Wed Mar 26, 3:38 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Sun Mar 30, 4:23 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Sun Mar 30, 5:03 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Andi Kleen, (Sun Mar 30, 5:18 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Sun Mar 30, 7:29 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Andi Kleen, (Mon Mar 31, 2:48 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jack Steiner, (Sun Mar 30, 10:18 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Sun Mar 30, 10:20 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Ingo Molnar, (Mon Mar 31, 8:33 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Yinghai Lu, (Mon Mar 31, 2:42 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Andi Kleen, (Mon Mar 31, 8:52 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Andi Kleen, (Tue Mar 25, 2:06 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Jeremy Fitzhardinge, (Tue Mar 25, 10:23 pm)
Re: [RFC 8/8] x86_64: Support for new UV apic, Ingo Molnar, (Wed Mar 26, 3:29 am)
Re: [RFC 8/8] x86_64: Support for new UV apic, Glauber Costa, (Tue Mar 25, 11:22 pm)
speck-geostationary