Date: Fri, 21 Oct 2005 10:38:34 -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.0510211032520.1428-100000@sea.ntplx.net> In-Reply-To: <Pine.GSO.4.43.0510211019170.1428-100000@sea.ntplx.net>
index | next in thread | previous in thread | raw e-mail
On Fri, 21 Oct 2005, Daniel Eischen wrote: > 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. Or find some other way to do it within the kernel... -- DEhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0510211032520.1428-100000>
