summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-12-02 18:40:16 +0000
committermarkm <markm@FreeBSD.org>2000-12-02 18:40:16 +0000
commitd04b66b7bc8243e8d0f41b0ec49287b046f7896c (patch)
treef123c1e3fe2e6c36575c949b3c4e3a8f437dd3f3 /usr.bin/make/make.c
parentb60dc7dc10282b413955e91ef34b45d89861e2b0 (diff)
downloadFreeBSD-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/make.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud