Re: [Bcache v13 05/16] Export get_random_int()

From
Tejun Heo <hidden>
Date
2012-05-15 16:44:48
Also in
dm-devel, lkml
Reply to
Kent Overstreet, 2012-05-10
On Wed, May 09, 2012 at 11:09:13PM -0400, Kent Overstreet wrote:
This is needed for bcache - it needs a fast source of random numbers for
the throttling code in order to fuzz IO sizes, but the random numbers
don't need to be any good (and it immediately converts it to a
binomially distributed random number with popcount anyways).

Signed-off-by: Kent Overstreet <redacted>
Please cc the maintainer (for other patches too).

Thanks.

-- 
tejun
Thread (83 messages) 83 messages, 9 authors, last reply 2012-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help