[PATCH v4] linux: Add support for getrandom vDSO
Cristian Rodríguez
cristian@rodriguez.im
Tue Sep 3 23:05:33 GMT 2024
On Mon, Sep 2, 2024 at 1:39 PM Adhemerval Zanella <
adhemerval.zanella@linaro.org> wrote:
> Linux 6.11 will support calling getrandom() from the vDSO (commit
> 4ad10a5f5f78a5b3e525a63bd075a4eb1139dde1). It operates on a thread-local
> opaque state allocated with mmap using flags specified by the vDSO.
>
> tested this one and appears to work just fine .. stress-ng --getrandom
works, speedup is around 2x compared to the raw syscall.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20240903/ecab91c1/attachment.htm>
More information about the Libc-alpha
mailing list