Re: [git pull] x86 fixes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Ingo Molnar <mingo@...>, H. Peter Anvin <hpa@...>, Arjan van de Ven <arjan@...>, x86 maintainers <x86@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, September 9, 2008 - 12:15 pm

On Tue, 9 Sep 2008, Adrian Bunk wrote:

It doesn't. I guess I don't care that much, since explicitly asking for 
some odd-ball case does indicate that you want a very specific kernel. I 
guess that's ok. I'm certainly not violently against it.

Of course, I also suspect that we _could_ fix it so that things like 
memcpy really only have two cases:

 - the special inlined "rep movs" thing. Although I'm not actually sure 
   gcc even does this, and I don't think we force it any more.

 - If doing a function call, we could just fix things up to be more 
   dynamic. Of course, the fixups for the SMP cases are scary (ie we'd 
   probably have to first change it to a one-byte "int $3" instruction, 
   then change the target, and then write the first byte back - and handle 
   any race with another CPU by fixing up the trap).

but I dunno.

		Linus
--
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)