diff options
author | markm <markm@FreeBSD.org> | 2000-12-02 18:40:16 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-12-02 18:40:16 +0000 |
commit | d04b66b7bc8243e8d0f41b0ec49287b046f7896c (patch) | |
tree | f123c1e3fe2e6c36575c949b3c4e3a8f437dd3f3 /usr.bin/make/list.h | |
parent | b60dc7dc10282b413955e91ef34b45d89861e2b0 (diff) | |
download | FreeBSD-src-d04b66b7bc8243e8d0f41b0ec49287b046f7896c.zip FreeBSD-src-d04b66b7bc8243e8d0f41b0ec49287b046f7896c.tar.gz |
Major speedup to /dev/random and the kernel thread that reseeds it.
There is no more TAILQ fifo to harvest the entropy; instead, there
is a circular buffer of constant size (changeable by macro) that
pretty dramatically improves the speed and fixes potential slowdowns-
by-locking.
Also gone are a slew of malloc(9) and free(9) calls; all harvesting
buffers are static.
All-in-all, this is a good performance improvement.
Thanks-to: msmith for the circular buffer concept-code.
Diffstat (limited to 'usr.bin/make/list.h')
0 files changed, 0 insertions, 0 deletions