Get the latest tech news

Linus Torvalds Unconvinced By getrandom() In The vDSO


While there were plans of adding getrandom() in the vDSO with the upcoming Linux 6.11 merge window to speed up user-space random number generation access, Linus Torvalds is unconvinced by the work and intends to reject any pull request with it for Linux 6.11.

And then he responded to himself adding:"IOW, I want to see actual *users* piping up and saying "this is a problem, here's my real load that spends 10% of time on getrandom(), and this fixes it". Torvalds also added in a third message:"One final note: the reason I'm so negative about this all is that the random number subsystem has such an absolutely _horrendous_ history of two main conflicting issues: people wanting reasonable usable random numbers on one side, and then the people that discuss what the word "entropy" means on the other side. Christ, let's make a deal: do a five-liner patch that adds the generation number to the vdso data, and basically document it as a "the kernel thinks you need to reseed your buffers using getrandom" flag.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Linux

Linux

Photo of Linus Torvalds

Linus Torvalds

Photo of getrandom

getrandom

Related news:

News photo

Linux Looking To Make 5-Level Paging Support Unconditional For x86_64 Kernel Builds

News photo

AMD Appears To Be Aiming For Good Radeon RDNA4 GPU Support In Linux 6.11

News photo

Oracle Rolls Out UEK-Next Kernel Based On Linux 6.9