getrandom() vDSO Coming To More Architectures With Linux 6.12

Written by Michael Larabel in Linux Kernel on 5 September 2024 at 06:35 AM EDT. Add A Comment
LINUX KERNEL
Linux 6.11 merged 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 LoongArch and 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.

CPUs


Jason Donenfeld also shared that there is 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.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week