getrandom() vDSO Coming To More Architectures With Linux 6.12
([Linux Kernel] 5 Hours Ago
getrandom vDSO Implementation)
- Reference: 0001489872
- News link: https://www.phoronix.com/news/getrandom-vDSO-More-CPU-Ports
- Source link:
Linux 6.11 merged [1]getrandom() in the vDSO Support for very fast yet secure user-space random number generation needs. That work was initially focused on x86_64 but beginning with Linux 6.12 and following on this getrandom() vDSO implementation will see expanded CPU architecture support.
Queuing up ahead of the Linux 6.12 merge window via the random.git code maintained by Jason Donenfeld are patches bringing getrandom() vDSO support to more architectures. There is support being added for [2]LoongArch and [3]ARM64 . The ARM64/AArch64 in particular should be quite valuable with the getrandom() vDSO implementation.
Meanwhile getrandom() vDSO support for PowerPC (POWER) 32-bit and 64-bit is currently undergoing review.
Jason Donenfeld also shared that there is [4]a new v4 patch for getrandom() vDSO support for the GNU C Library that is currently under review. This patch allows Glibc-based Linux distributions in user-space to begin making use of this speedy but secure RNG on supported architectures.
[1] https://www.phoronix.com/news/Linux-6.11-Lands-getrandom-vDSO
[2] https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=96a619dc6dbf0e5dd1f8052a1c6a0f582ecab53d
[3] https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=88272e1f28dca9372e89887d3fb41402fd7ceb3d
[4] https://inbox.sourceware.org/libc-alpha/20240902173846.637149-1-adhemerval.zanella@linaro.org/
Queuing up ahead of the Linux 6.12 merge window via the random.git code maintained by Jason Donenfeld are patches bringing getrandom() vDSO support to more architectures. There is support being added for [2]LoongArch and [3]ARM64 . The ARM64/AArch64 in particular should be quite valuable with the getrandom() vDSO implementation.
Meanwhile getrandom() vDSO support for PowerPC (POWER) 32-bit and 64-bit is currently undergoing review.
Jason Donenfeld also shared that there is [4]a new v4 patch for getrandom() vDSO support for the GNU C Library that is currently under review. This patch allows Glibc-based Linux distributions in user-space to begin making use of this speedy but secure RNG on supported architectures.
[1] https://www.phoronix.com/news/Linux-6.11-Lands-getrandom-vDSO
[2] https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=96a619dc6dbf0e5dd1f8052a1c6a0f582ecab53d
[3] https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=88272e1f28dca9372e89887d3fb41402fd7ceb3d
[4] https://inbox.sourceware.org/libc-alpha/20240902173846.637149-1-adhemerval.zanella@linaro.org/
phoronix