diff options
| author | riastradh <riastradh@NetBSD.org> | 2013-08-27 14:01:35 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2013-08-27 14:01:35 +0000 |
| commit | 944401aafa59b2a1b9f985ea1c34523d07ea16b6 (patch) | |
| tree | c0c910d667a4328ac40f05af7d2a0d85e8dbe04d /include/string.h | |
| parent | a134e36c0a2eafb3a0f67d9d52688f577b80c182 (diff) | |
Schedule wakeups asynchronously in rnd_extract_data.
Otherwise, rndsink_request takes rndsinks_lock and calls
rnd_extract_data, which synchronously calls rndsinks_distribute,
which takes rndsinks_lock -> boom.
This is a stop-gap on a stop-gap on a stop-gap; we really ought to
back out all of these stop-gaps, make bcm2835_rng call rnd_add_data
asynchronously to work around the original symptom, and design a real
solution when we have time to sort this mess out properly.
Diffstat (limited to 'include/string.h')
0 files changed, 0 insertions, 0 deletions
