freebsd-nq/sys/dev/random
Mark Murray 4e3a7a14d9 Fix a major faux pas of mine. I was causing 2 very bad things to
happen in interrupt context; 1) sleep locks, and 2) malloc/free
calls.

1) is fixed by using spin locks instead.

2) is fixed by preallocating a FIFO (implemented with a STAILQ)
   and using elements from this FIFO instead. This turns out
   to be rather fast.

OK'ed by:	re (scottl)
Thanks to:	peter, jhb, rwatson, jake
Apologies to:	*
2003-11-20 15:35:48 +00:00
..
harvest.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
hash.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
hash.h Upgrade the random device to use a "real" hash instead of building 2002-07-15 13:58:35 +00:00
randomdev.c Fix a major faux pas of mine. I was causing 2 very bad things to 2003-11-20 15:35:48 +00:00
randomdev.h Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
yarrow.c Overhaul the entropy device: 2003-11-17 23:02:21 +00:00
yarrow.h