kernel-fxtec-pro1x/arch/powerpc/kernel/vdso64
Adhemerval Zanella fcb41a2030 powerpc: Add VDSO version of time
On 04/18/2013 07:38 PM, Anton Blanchard wrote:
> Since you are only reading one long you shouldn't need to check the
> update count and loop, you will always see a consistent value. The
> system call version of time() just does an unprotected load for example.

Fixed.

> With the above change and with Michael's comments covered (decent
> changelog entry and Signed-off-by):
>
> Acked-by: Anton Blanchard <anton@samba.org>

Thanks for the review, below the updated patch:

From: Adhemerval Zanella <azanella@linux.vnet.ibm.com>

This patch implement the time syscall as vDSO. The performance speedups
are:

Baseline PPC32: 380 nsec
Baseline PPC64: 350 nsec
vdso PPC32:      20 nsec
vsdo PPC64:      20 nsec

Tested on 64 bit build with both 32 bit and 64 bit userland.

Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-04-23 16:05:05 +10:00
..
.gitignore [POWERPC] Update .gitignore for new vdso generated files 2007-10-08 08:38:12 -05:00
cacheflush.S [POWERPC] vdso: Fixes for cache block sizes 2007-11-20 13:56:31 +11:00
datapage.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
getcpu.S powerpc: Add VDSO version of getcpu 2012-07-11 14:18:40 +10:00
gettimeofday.S powerpc: Add VDSO version of time 2013-04-23 16:05:05 +10:00
Makefile powerpc: Add VDSO version of getcpu 2012-07-11 14:18:40 +10:00
note.S [PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel 2005-11-11 22:25:39 +11:00
sigtramp.S Fix common misspellings 2011-03-31 11:26:23 -03:00
vdso64.lds.S powerpc: Add VDSO version of time 2013-04-23 16:05:05 +10:00
vdso64_wrapper.S Use macros for .data.page_aligned section. 2009-09-21 06:27:08 +02:00