lib/rand: improve __fill_random_buf()
authorJens Axboe <axboe@kernel.dk>
Fri, 1 Jul 2022 21:02:06 +0000 (15:02 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 1 Jul 2022 21:02:06 +0000 (15:02 -0600)
commitaa75fc9db6b98ad317911b35b4a968139a648bb8
tree19a5d1594203731da6c0b842ea206bb5dbc9a62a
parentc86418b6ce561941cd7741159ba7c4ba5ddf81dd
lib/rand: improve __fill_random_buf()

This won't be equivalent to what we have, but I _think_ the randomness
is good enough for this purpose.

This improves performance by about 30% for me, tested on both aarch64
and x86-64.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/rand.c