ANDROID: g12a: turn on VDSO
authorMark Salyzyn <salyzyn@google.com>
Tue, 28 Mar 2017 21:11:02 +0000 (14:11 -0700)
committerBruno Martins <bgcngm@gmail.com>
Fri, 20 Oct 2023 17:09:54 +0000 (18:09 +0100)
Turn on the vdso32 feature on an arm64 kernel.

Results in roughly a 4 fold speedup for clock_gettime() and other
timekeeping functions for arm32 executables in the environment.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 20045882
Bug: 19198045
Bug: 63737556
Change-Id: If39bfad8b287a5455dc8240a73dcc8951e4bc13f

arch/arm64/configs/g12a_defconfig

index 7c21983e84e32885590944a7cfc1941df4aee817..c96b1bf98783c78afa7daf80a1a3308198a16a33 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_ARM64_SW_TTBR0_PAN=y
 CONFIG_RANDOMIZE_BASE=y
 # CONFIG_EFI is not set
 CONFIG_COMPAT=y
+CONFIG_COMPAT_VDSO=y
 CONFIG_PM_WAKELOCKS=y
 CONFIG_CPU_IDLE=y
 CONFIG_ARM_CPUIDLE=y