kernel upcall documentation

Daniel Eischen deischen at freebsd.org
Fri Oct 21 07:20:54 PDT 2005


On Fri, 21 Oct 2005, Konstantinos Boukis wrote:

> Hello,
> I am not quite sure whether this is the correct list, my problem is that I want
> to send an upcall from the kernel to userland to load a module (kernel threads
> cannot call linker_load_module since they do not have a  valid fd_cdir). Is
> there any document describing how to make an upcall from the kernel to
> userland?

This is not how you want to do it.  Do it the old fashioned
way, with a read() or ioctl() from userland that blocks until
the kernel is ready to have the module loaded.

-- 
DE



More information about the freebsd-threads mailing list