On Tuesday 23 March 2010 5:07:05 pm Dag-Erling Smørgrav wrote: > John Baldwin <j...@freebsd.org> writes: > > Dag-Erling Smørgrav <d...@des.no> writes: > > > I'm not sure it's such a good idea to use uprintf() here. The event > > > handler can be called in non-process context. > > If you are doing a kldload post-boot it is actually done from some sort of > > process context. We run module handlers synchronously from the kldload(2) > > syscall. > > Sure, but not when the module is loaded by the boot loader (note "can", > not "will")
For the purposes of writing a dummy test kld that you know you will load via kldload it is ok though. :) -- John Baldwin _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"