Thread (21 messages) 21 messages, 7 authors, 2022-10-17

Re: [PATCH v6 5/7] treewide: use get_random_u32() when possible

From: Florian Westphal <fw@strlen.de>
Date: 2022-10-13 10:17:06
Also in: kernel-janitors, linux-arm-kernel, linux-block, linux-crypto, linux-doc, linux-fsdevel, linux-media, linux-mips, linux-mm, linux-mmc, linux-nvme, linux-patches, linux-rdma, linux-s390, linux-um, linux-usb, linux-wireless, linuxppc-dev, lkml, loongarch, sparclinux

Rolf Eike Beer [off-list ref] wrote:
Florian, can you comment and maybe fix it?
Can't comment, do not remember -- this was 5 years ago.
Or you wanted to move the variable before the loop and keep the random state
between the loops and only reseed when all '1' bits have been consumed.
Probably.  No clue, best to NOT change it to not block Jasons series and
then just simplify this and remove all the useless shifts.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help