Skip to content
Commit 585cd5fe authored by Jason A. Donenfeld's avatar Jason A. Donenfeld
Browse files

random: add 8-bit and 16-bit batches



There are numerous places in the kernel that would be sped up by having
smaller batches. Currently those callsites do `get_random_u32() & 0xff`
or similar. Since these are pretty spread out, and will require patches
to multiple different trees, let's get ahead of the curve and lay the
foundation for `get_random_u8()` and `get_random_u16()`, so that it's
then possible to start submitting conversion patches leisurely.

Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
parent 37608ba3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment