]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
(1) Move from O(n) list copies to O(1) list concatenation, which is
authorrwatson <rwatson@FreeBSD.org>
Wed, 3 Nov 2004 10:02:50 +0000 (10:02 +0000)
committerrwatson <rwatson@FreeBSD.org>
Wed, 3 Nov 2004 10:02:50 +0000 (10:02 +0000)
commite75806b324f1078202c5e608e8771f46612c68bc
treefadfea7ce1c734aafa69e6bd674d9d931f392da3
parent4bde5fc90babbe596b5711e83ffa9e7247b742a4
(1) Move from O(n) list copies to O(1) list concatenation, which is
    supported for STAILQ via STAILQ_CONCAT().

(2) Maintain a count of the number of entries in the thread-local entropy
    fifo so that we can keep the other fifo counts in synch.

MFC after: 3 weeks
MFC with: randomdev_soft.c revisions 1.5 and 1.6
Suggested by:   jhb (1)
sys/dev/random/randomdev_soft.c