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

From: Tejun Heo
Date: Tue May 15 2012 - 12:44:43 EST


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@xxxxxxxxxx>

Please cc the maintainer (for other patches too).

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/