Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 10:20:52 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Konstantinos Boukis <konstantinos.boukis@kcl.ac.uk>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: kernel upcall documentation
Message-ID:  <Pine.GSO.4.43.0510211019170.1428-100000@sea.ntplx.net>
In-Reply-To: <1129901893.4358ef45d0632@impmail.kcl.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0510211019170.1428-100000>