Messages in this thread | | | Date | Wed, 22 Dec 2004 19:47:42 +0100 | From | Willy Tarreau <> | Subject | Re: [PATCH] [CAN-2004-1144] Fix int 0x80 hole in 2.4 x86-64 linux kernels |
| |
On Wed, Dec 22, 2004 at 07:23:13PM +0100, Andi Kleen wrote: > > (...) > > > sti > > > + movl %eax,%eax > > > pushq %rax > > > > Although I don't know about x86_64 assembly, I know x86 and I wonder > > how this patch would do anything. I would personnaly have written something > > more like : > > An 32bit write in long mode clears the upper 32bits of the register.
Ok, thanks for this quick precision, it wasn't obvious at first glance.
> See the x86-64 architecture manuals for more details.
Oh, I did a long time ago, when the athlon64 was only an emulator which ran under linux, but I forgot all the details since then.
Thanks, Willy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |