[dm-devel] [Bcache v13 05/16] Export get_random_int()

Tejun Heo tj at kernel.org
Tue May 15 16:44:40 UTC 2012


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 <koverstreet at google.com>

Please cc the maintainer (for other patches too).

Thanks.

-- 
tejun




More information about the dm-devel mailing list