Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-05-01 Thread Jeremy Fitzhardinge
Andi Kleen wrote: >> Use linux/elfnote.h? >> > > Good point. Will fix. I just copied it from i386, but it probably > should be there fixed too. > Already has been. I posted a patch a day or so ago (reposted below). > Actually they are not completely equivalent because the old macro >

Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-05-01 Thread Andi Kleen
> Use linux/elfnote.h? Good point. Will fix. I just copied it from i386, but it probably should be there fixed too. Actually they are not completely equivalent because the old macro generates the section name differently from the name in the payload (kernelversion, Linux). But I split that up

Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-05-01 Thread Andi Kleen
Use linux/elfnote.h? Good point. Will fix. I just copied it from i386, but it probably should be there fixed too. Actually they are not completely equivalent because the old macro generates the section name differently from the name in the payload (kernelversion, Linux). But I split that up

Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-05-01 Thread Jeremy Fitzhardinge
Andi Kleen wrote: Use linux/elfnote.h? Good point. Will fix. I just copied it from i386, but it probably should be there fixed too. Already has been. I posted a patch a day or so ago (reposted below). Actually they are not completely equivalent because the old macro generates

Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-04-30 Thread Jeremy Fitzhardinge
Andi Kleen wrote: > This implements new vDSO for x86-64. The concept is similar > to the existing vDSOs on i386 and PPC. x86-64 has had static > vsyscalls before, but these are not flexible enough anymore. > > A vDSO is a ELF shared library supplied by the kernel that is mapped into > user

[PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-04-30 Thread Andi Kleen
This implements new vDSO for x86-64. The concept is similar to the existing vDSOs on i386 and PPC. x86-64 has had static vsyscalls before, but these are not flexible enough anymore. A vDSO is a ELF shared library supplied by the kernel that is mapped into user address space. The vDSO

[PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-04-30 Thread Andi Kleen
This implements new vDSO for x86-64. The concept is similar to the existing vDSOs on i386 and PPC. x86-64 has had static vsyscalls before, but these are not flexible enough anymore. A vDSO is a ELF shared library supplied by the kernel that is mapped into user address space. The vDSO

Re: [PATCH] [8/30] x86_64: Add vDSO for x86-64 with gettimeofday/clock_gettime/getcpu

2007-04-30 Thread Jeremy Fitzhardinge
Andi Kleen wrote: This implements new vDSO for x86-64. The concept is similar to the existing vDSOs on i386 and PPC. x86-64 has had static vsyscalls before, but these are not flexible enough anymore. A vDSO is a ELF shared library supplied by the kernel that is mapped into user address