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

It appears that after his death, Albert Einstein found himself
working as the doorkeeper at the Pearly Gates. One slow day, he
found that he had time to chat with the new entrants. To the first one
he asked, "What's your IQ?" The new arrival replied, "190". They
discussed Einstein's theory of relativity for hours. When the second
new arrival came, Einstein once again inquired as to the newcomer's
IQ. The answer this time came "120". To which Einstein replied, "Tell
me, how did the Cubs do this year?" and they proceeded to talk for half
an hour or so. To the final arrival, Einstein once again posed the
question, "What's your IQ?". Upon receiving the answer "70",
Einstein smiled and replied, "Got a minute to tell me about VMS 4.0?"