getrandom() In The vDSO Aims For Linux 6.11 To Provide Faster Yet Secure User-Space RNG
In the making the past two years by developer Jason Donenfeld (of WireGuard fame) is adding getrandom() to the vDSO in the name of better performance. In some tests this has yielded as much as a ~15x speed-up to performance for user-space obtaining crypographically secure random number generation. It's looking like for the upcoming Linux 6.11 merge window, this work will finally be merged.
Recently there's been renewed work by Jason Donenfeld in getting getrandom() in the vDSO over the finish line. As noted last month the latest code has been looking good and hopeful and it continues looking that way with the "v20" patches sent out today.
Donenfeld reaffirmed his intent on submitting these getrandom() in the vDSO patches for the upcoming Linux 6.11 merge window. The plan at this point is merging it in through his random.git tree for the Linux 6.11 kernel. The v20 patches are now out on the Linux kernel mailing list.
More details on the implementation can be found via this patch message.
Recently there's been renewed work by Jason Donenfeld in getting getrandom() in the vDSO over the finish line. As noted last month the latest code has been looking good and hopeful and it continues looking that way with the "v20" patches sent out today.
Donenfeld reaffirmed his intent on submitting these getrandom() in the vDSO patches for the upcoming Linux 6.11 merge window. The plan at this point is merging it in through his random.git tree for the Linux 6.11 kernel. The v20 patches are now out on the Linux kernel mailing list.
More details on the implementation can be found via this patch message.
Add A Comment