Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

Evgeniy Polyakov
2007-03-01T09:17:40Z

On Thu, Mar 01, 2007 at 02:33:01AM +0100, Andrea Arcangeli (andrea@suse.de) wrote:
> On Thu, Mar 01, 2007 at 12:12:28AM +0100, Ingo Molnar wrote:
> > more capable by providing more special system calls like sys_upcall() to
> > execute a user-space function. (that way a syslet could still execute
> > user-space code without having to exit out of kernel mode too
> > frequently) Or perhaps a sys_x86_bytecode() call, that would execute a
> > pre-verified, kernel-stored sequence of simplified x86 bytecode, using
> > the kernel stack.
>
> Which means the userspace code would then run with kernel privilege
> level somehow (after security verifier, whatever). You remember I
> think it's a plain crazy idea...

Syslets/threadlets do not execute userspace code in kernel - they behave
similar to threads. sys_upcall() would be a wrapper for quite complex
threadlet machinery.

--
Evgeniy Polyakov