vdso: Move arch related data before basetime
Architecture related vdso data is required in fastpath when acquiring
CLOCK_MONOTONIC or CLOCK_REALTIME. At the moment this information is
located at the end of the vdso_data structure. The whole structure has to
be loaded into cache to be able to access this information.
To minimize the number of required cachelines, the architecture specific
vdso data struct is moved right before the basetime (basetime information
is required anyway). This change does not has an impact on architectures
with CONFIG_ARCH_HAS_VDSO_DATA=n. All other architectures could spare
reading unnecessary cachelines.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
1 file changed