1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 config HAVE_GENERIC_VDSO 3 config HAVE_GENERIC_VDSO 4 bool 4 bool 5 5 6 if HAVE_GENERIC_VDSO 6 if HAVE_GENERIC_VDSO 7 7 8 config GENERIC_GETTIMEOFDAY 8 config GENERIC_GETTIMEOFDAY 9 bool 9 bool 10 help 10 help 11 This is a generic implementation of 11 This is a generic implementation of gettimeofday vdso. 12 Each architecture that enables this 12 Each architecture that enables this feature has to 13 provide the fallback implementation. 13 provide the fallback implementation. 14 14 15 config GENERIC_VDSO_32 15 config GENERIC_VDSO_32 16 bool 16 bool 17 depends on GENERIC_GETTIMEOFDAY && !64 17 depends on GENERIC_GETTIMEOFDAY && !64BIT 18 help 18 help 19 This config option helps to avoid po 19 This config option helps to avoid possible performance issues 20 in 32 bit only architectures. 20 in 32 bit only architectures. 21 21 22 config GENERIC_COMPAT_VDSO 22 config GENERIC_COMPAT_VDSO 23 bool 23 bool 24 help 24 help 25 This config option enables the compa 25 This config option enables the compat VDSO layer. 26 26 27 config GENERIC_VDSO_TIME_NS 27 config GENERIC_VDSO_TIME_NS 28 bool 28 bool 29 help 29 help 30 Selected by architectures which supp 30 Selected by architectures which support time namespaces in the 31 VDSO 31 VDSO 32 32 33 config GENERIC_VDSO_OVERFLOW_PROTECT 33 config GENERIC_VDSO_OVERFLOW_PROTECT 34 bool 34 bool 35 help 35 help 36 Select to add multiplication overflo 36 Select to add multiplication overflow protection to the VDSO 37 time getter functions for the price 37 time getter functions for the price of an extra conditional 38 in the hotpath. 38 in the hotpath. 39 39 40 endif 40 endif 41 41 42 config VDSO_GETRANDOM 42 config VDSO_GETRANDOM 43 bool 43 bool 44 help 44 help 45 Selected by architectures that suppo 45 Selected by architectures that support vDSO getrandom().
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.