diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-04-28 07:35:16 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-04-28 07:35:16 +0000 |
commit | d8e44e7cc59e0f8ed2759d99780e241c2d7d0277 (patch) | |
tree | effc7a8e87ab87f54d21b04d56414b6ed4d30295 /sys/arch | |
parent | f5793babf3ea7b95a643ebd619a96de010481bf5 (diff) |
remove horrible abuse of kthread_create_deferred(9). this was being
used to "do things later" and was potentially sleeping in swapper
context. the latter is really bad, because it might never wake up.
instead, move the things that usb_first_explore() was doing to the
first run of the explore task. since tasks are run in a kthread,
they are in process context and ok to sleep.
fixes boot hang noticed by jsg@, which mikeb@ debugged and found
usb_first_explore() to be sleeping swapper context
Diffstat (limited to 'sys/arch')
0 files changed, 0 insertions, 0 deletions