Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Export get_random_int()

Needed for bcache - need a cheap source of random numbers for perturbing
IO sizes, for rate limiting IO to the SSD.

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: "Theodore Ts'o" <tytso@mit.edu>

+1
+1
drivers/char/random.c
··· 1485 1485 1486 1486 return ret; 1487 1487 } 1488 + EXPORT_SYMBOL(get_random_int); 1488 1489 1489 1490 /* 1490 1491 * randomize_range() returns a start address such that