This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ppc vdso, A working gettimeofday


On Sun, 2005-05-01 at 17:52 -0500, Steve Munroe wrote:
> 
> 
> 
> 
> 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...

Heh, don't worry, I know it's a "working kludge", I'm just starting the
discussion on what we want to do next ! :)

Ben.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]