VOOZH about

URL: https://www.phoronix.com/news/Linux-616-RISC-V-getrandom-vDSO

⇱ RISC-V getrandom vDSO Ready Ahead Of Linux 6.16 With Exciting Performance - Phoronix


👁 Phoronix

RISC-V getrandom vDSO Ready Ahead Of Linux 6.16 With Exciting Performance

Written by Michael Larabel in RISC-V on 21 April 2025 at 05:59 AM EDT. 3 Comments
Merged last year in Linux 6.11 was getrandom() support in the vDSO for x86/x86_64 and then in Linux 6.12 was extended to LoongArch and ARM64. With the upcoming Linux 6.16 cycle, this support for faster while still secure RNG for user-space is set to come to RISC-V.

Queued within the RISC-V kernel's "for-next" Git branch is wiring up getrandom() vDSO support for this CPU architecture. The queued up code gets the cDSO implementation working on RISC-V processors.

The benchmark results shown with the pending commit are quite compelling:

👁 RISC-V getrandom vDSO comparison benchmarks


Barring any last minute issues from being uncovered in this code, the RISC-V for-next patches will then be sent in for the Linux 6.16 merge window once it opens around the end of May.

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.