Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 10:47:22 -0500
From:      "Daniel M. Eischen" <eischen@vigrid.com>
To:        Jake Burkholder <jburkhol@home.com>
Cc:        Jason Evans <jasone@canonware.com>, smp@FreeBSD.ORG
Subject:   Re: KSE project announcement
Message-ID:  <39FC468A.944757E2@vigrid.com>
References:  <20001029070211.3B96BBA6D@io.yi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jake Burkholder wrote:
> 
> I have a question: is the idea that kse_init always "return"s
> on the same stack?  and if so how does the kernel know when an
> upcall is finished, off the upcall context, and its safe to let
> another kse return to userland on that same stack?

I am not convinced that this will work either.  I think it is
much easier to have the UTS pass down a set of stacks to use
for upcalls.  After being used in upcalls (and when the UTS is
finished with any data passed on the stack), the UTS would
inform the kernel that they can be reused.  Note that this
wouldn't require an extra system call; the system call to
recycle stacks could be the same system call that informs the
kernel we are using KSEs.

-- 
Dan Eischen


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39FC468A.944757E2>