[PATCH] ppc vdso, A working gettimeofday
Steve Munroe
sjmunroe@us.ibm.com
Sun May 1 23:18:00 GMT 2005
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote on 04/30/2005
07:23:49 PM:
>
> You go through the burden of setting up a descriptor and calling through
> it, which means unnecessary TOC loads etc... Best here is probably to
> write __gettimeofday() entirely in assembly and to do a simpler pointer
> call (or alternatively, just use an inline asm for the call itself, but
> that is probably still overkill). The vDSO case doesn't even need a
> stackframe to be built
>
What part of working kludge don't you understand? ;-)
Yes I could do that but I wanted do demonstrate the general cross platform
case. I think that I have already demonstrated my ability to write
assembler...
Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center
More information about the Libc-alpha
mailing list