News: 0001541769

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

([RISC-V] 6 Hours Ago getrandom vDSO For RISC-V)


Merged last year in Linux 6.11 was [1]getrandom() support in the vDSO for x86/x86_64 and then in Linux 6.12 was [2]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 [3]pending commit are quite compelling:

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.



[1] https://www.phoronix.com/news/Linux-6.11-Lands-getrandom-vDSO

[2] https://www.phoronix.com/news/getrandom-vDSO-More-CPU-Ports

[3] https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git/commit/?h=for-next&id=89079520cef65d6da1e864eab4464effe5396e23



microcode

Shah, shah! Ayatollah you so!