Re: Intel P6 vs P7 system call performance

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Dec 17 2002 - 14:23:50 EST


On Tue, 2002-12-17 at 17:55, Ulrich Drepper wrote:
> But there is a way: if I'm using
>
> #define makesyscall(name) \
> movl $__NR_##name, $eax; \
> call 0xfffff000-__NR_##name($eax)
>
> and you'd put at address 0xfffff000 the address of the entry point the
> wrappers wouldn't have any problems finding it.

Is there any reason you can't just keep the linker out of the entire
mess by generating

        .byte whatever
        .dword 0xFFFF0000

instead of call ?

-
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/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:17 EST