aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/lst.lib/lstMember.c
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-12-02 18:40:16 +0000
committerMark Murray <markm@FreeBSD.org>2000-12-02 18:40:16 +0000
commit84d4f509f028145ca2f9519734a32a2acabfcfb9 (patch)
treeb47a15e0aef6f047c4493245fe00896ee8c060dc /usr.bin/make/lst.lib/lstMember.c
parente5f2f488c5f8bf041304bdd6cd4556fdc4f3dd4c (diff)
downloadsrc-84d4f509f028145ca2f9519734a32a2acabfcfb9.tar.gz
src-84d4f509f028145ca2f9519734a32a2acabfcfb9.zip
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.
Notes
Notes: svn path=/head/; revision=69526
Diffstat (limited to 'usr.bin/make/lst.lib/lstMember.c')
0 files changed, 0 insertions, 0 deletions