lkml.org 
[lkml]   [1999]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: offtopic: userland active context switches ?
At 15:54 6/08/99 +0100, you wrote:
>During a system call the userspace process switches to kernel mode and
>the kernel executes the code on behalf of the process.
>Is it possible to create a client/server pair both in userspace where the
client
>can pull off the same context switch trick and run code in the server
along the
>same lines ?
>

Solaris Doors are similar to this. Richard Stevens' IPC book
http://www.kohala.com/~rstevens/unpv22e/unpv22e.html has a link to
a Linux implementation: http://www.rampant.org/doors .

Doors are like LPC (local procedure calls), except that a new thread
is created in the server (when initializing the doors mechanism), in
which the client can run server code, with the full Unix permission
mechanism and all.


Marnix Coppens

---
Reality is that which | Artificial Intelligence
when you stop believing | stands no chance against
in it doesn't go away. (Philip K. Dick) | Natural Stupidity.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.022 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site