--- - branch: MAIN date: Tue Aug 27 14:01:35 UTC 2013 files: - new: '1.17' old: '1.16' path: src/sys/kern/kern_rndq.c pathrev: src/sys/kern/kern_rndq.c@1.17 type: modified id: 20130827T140135Z.5b30fa4f94921073408ab61e531421f104ba02ac log: | 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. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1377612095' user: riastradh