* [PATCH v2 0/10] arm+arm64: vdso unification
@ 2017-10-12 22:58 Mark Salyzyn
0 siblings, 0 replies; only message in thread
From: Mark Salyzyn @ 2017-10-12 22:58 UTC (permalink / raw)
To: linux-kernel; +Cc: james.morse, Mark Salyzyn
Take an effort to recode the arm64 vdso code from assembler to C
previously submitted by Andrew Pinski <apinski@cavium.com>, rework
it for use in both arm and arm64, overlapping any optimizations
for each architecture. But instead of landing it in arm64, land the
result into arm codebase and unify both implementations to simplify
future maintenance. This will act as the basis for implementing
arm64 vdso32 in the future.
apinski@cavium.com made the following claims in the original patch:
This allows the compiler to optimize the divide by 1000 and remove
the other divides.
On ThunderX, gettimeofday improves by 32%. On ThunderX 2,
gettimeofday improves by 18%.
Note I noticed a bug in the old implementation of __kernel_clock_getres;
it was checking only the lower 32bits of the pointer; this would work
for most cases but could fail in a few.
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
v2:
- split first CL into 7 pieces, there were cosmetic adjustments.
- make sure profiling is turned off.
- kept quiet_cmd_vdsoas.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-12 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-12 22:58 [PATCH v2 0/10] arm+arm64: vdso unification Mark Salyzyn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome