| # SPDX-License-Identifier: GPL-2.0 | |
| config VDSO_DATASTORE | |
| bool | |
| config GENERIC_GETTIMEOFDAY | |
| bool | |
| select VDSO_DATASTORE | |
| help | |
| This is a generic implementation of gettimeofday vdso. | |
| Each architecture that enables this feature has to | |
| provide the fallback implementation. | |
| config GENERIC_VDSO_OVERFLOW_PROTECT | |
| bool | |
| help | |
| Select to add multiplication overflow protection to the VDSO | |
| time getter functions for the price of an extra conditional | |
| in the hotpath. | |
| config VDSO_GETRANDOM | |
| bool | |
| select VDSO_DATASTORE | |
| help | |
| Selected by architectures that support vDSO getrandom(). | |
| config VDSO_UNALIGNED_PACKED | |
| bool | |
| default !HAVE_EFFICIENT_UNALIGNED_ACCESS | |
| help | |
| Use packed structs rather than memcpy() in include/vdso/unaligned.h | |
| for unaligned memory accesses. Enabled by default when the | |
| architecture does not have efficient unaligned accesses, as GCC may | |
| emit stack spills or out-of-line memcpy() calls instead of inlining | |
| byte shifts. |