commit | 20f88abad5f2a7bca45d9a9288c93d8cc259ca70 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Apr 17 15:50:28 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 19 15:24:33 2021 +0200 |
tree | b23b4a0d1b61ce6e27f67a6f799c1d09709d9f8a | |
parent | 84ebfabf7f38f6da95c90f5740601afc67376913 [diff] |
MINOR: pools: use cheaper randoms for fault injections ha_random() is quite heavy and uses atomic ops or even a lock on some architectures. Here we don't seek good randoms, just statistical ones, so let's use the statistical prng instead.