Re: [git pull] x86 fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: x86 maintainers <x86@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, September 8, 2008 - 2:22 pm

Linus Torvalds wrote:

binutils-2.18.50.0.6-5, which is the current version on Fedora 9, does this.


As far as I can tell, -Wa,-mtune=generic *should* work.  It doesn't look 
to me as if cc1 will generate the long NOPs.  That one we can do 
unconditionally, of course.


Well, the argument in favour would be that if you want a kernel that can 
cross between different microarchitectures, then you want the "don't 
suck horribly on any of them".  We can, of course, divide them down 
further, but is it useful?

The "ideal" way to do any of this would probably to have checkboxes for 
all the CPUs you want to support and then a drop-down box for the CPU to 
optimize for.  However, the combinatorics of that would be horrible, and 
it would be very unlikely we would avoid bugs.

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

Messages in current thread:
[git pull] x86 fixes, H. Peter Anvin, (Mon Sep 8, 1:52 pm)
Re: [git pull] x86 fixes, Linus Torvalds, (Mon Sep 8, 2:04 pm)
Re: [git pull] x86 fixes, Adrian Bunk, (Tue Sep 9, 12:57 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Tue Sep 9, 1:03 pm)
Re: [git pull] x86 fixes, Adrian Bunk, (Tue Sep 9, 1:43 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Tue Sep 9, 2:12 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Mon Sep 8, 2:22 pm)
Re: [git pull] x86 fixes, Arjan van de Ven, (Mon Sep 8, 2:46 pm)
Re: [git pull] x86 fixes, Andi Kleen, (Mon Sep 8, 6:43 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Mon Sep 8, 2:51 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Mon Sep 8, 3:02 pm)
Re: [git pull] x86 fixes, , (Mon Sep 8, 4:25 pm)
Re: [git pull] x86 fixes, Ingo Molnar, (Tue Sep 9, 3:27 am)
Re: [git pull] x86 fixes, Linus Torvalds, (Mon Sep 8, 3:30 pm)
Re: [git pull] x86 fixes, Adrian Bunk, (Tue Sep 9, 12:05 pm)
Re: [git pull] x86 fixes, Linus Torvalds, (Tue Sep 9, 12:15 pm)
Re: [git pull] x86 fixes, Krzysztof Halasa, (Mon Sep 8, 7:17 pm)
Re: [git pull] x86 fixes, Andi Kleen, (Tue Sep 9, 6:24 am)
Re: [git pull] x86 fixes, Mark Lord, (Tue Sep 9, 1:17 pm)
Re: [git pull] x86 fixes, Andi Kleen, (Tue Sep 9, 2:40 pm)
Re: [git pull] x86 fixes, Mark Lord, (Tue Sep 9, 1:48 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Tue Sep 9, 1:19 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Tue Sep 9, 1:01 pm)
Re: [git pull] x86 fixes, Linus Torvalds, (Tue Sep 9, 10:54 am)
Re: [git pull] x86 fixes, Arjan van de Ven, (Mon Sep 8, 2:42 pm)
Re: [git pull] x86 fixes, Arjan van de Ven, (Mon Sep 8, 3:55 pm)
Re: [git pull] x86 fixes, H. Peter Anvin, (Mon Sep 8, 4:14 pm)
Re: [git pull] x86 fixes, Linus Torvalds, (Mon Sep 8, 2:17 pm)
Re: [git pull] x86 fixes, Andi Kleen, (Mon Sep 8, 6:42 pm)