1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/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
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