diff options
author | markm <markm@FreeBSD.org> | 2015-08-22 12:59:05 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2015-08-22 12:59:05 +0000 |
commit | 8982309189722bc5e7c572ea0581f714bf1c6337 (patch) | |
tree | 52609275855ad29d2bfae105777e35ddecf436a1 /sys/dev/random/unit_test.c | |
parent | 47e7b3851fdc5ab885ee92247dc2599932a7b7d8 (diff) | |
download | FreeBSD-src-8982309189722bc5e7c572ea0581f714bf1c6337.zip FreeBSD-src-8982309189722bc5e7c572ea0581f714bf1c6337.tar.gz |
Make the UMA harvesting go away completely if not wanted. Default to "not wanted".
Provide and document the RANDOM_ENABLE_UMA option.
Change RANDOM_FAST to RANDOM_UMA to clarify the harvesting.
Remove RANDOM_DEBUG option, replace with SDT probes. These will be of
use to folks measuring the harvesting effect when deciding whether to
use RANDOM_ENABLE_UMA.
Requested by: scottl and others.
Approved by: so (/dev/random blanket)
Differential Revision: https://reviews.freebsd.org/D3197
Diffstat (limited to 'sys/dev/random/unit_test.c')
-rw-r--r-- | sys/dev/random/unit_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/unit_test.c b/sys/dev/random/unit_test.c index fac4c8d..f682d17 100644 --- a/sys/dev/random/unit_test.c +++ b/sys/dev/random/unit_test.c @@ -29,7 +29,7 @@ /* Build this by going: -cc -g -O0 -pthread -DRANDOM_<alg> -DRANDOM_DEBUG -I../.. -lstdthreads -Wall \ +cc -g -O0 -pthread -DRANDOM_<alg> -I../.. -lstdthreads -Wall \ unit_test.c \ yarrow.c \ fortuna.c \ |