[movitz-devel] Re: implementing the process abstraction in movitz

Muli Ben-Yehuda mulix at mulix.org
Wed Nov 24 20:23:22 UTC 2004


On Tue, Nov 23, 2004 at 02:39:38PM +0100, Frode Vatvedt Fjeld wrote:

> I think if your goal really is linux emulation, then you really need
> to set up an address-space with paging etc. Make a (defclass
> linux-process ..) that plays abuot the same role as the linux "proc"
> structure (or something like that, I don't really remember its
> name..), 

struct task_struct

> and your fork must essentially do the same as linux fork
> does. Although I'd model it in terms of some initialization method on
> linux-process, where fork initializes an instance as a copy of another
> process. I'd start off by making some accessors to the paging
> hardware, and build on that.

sounds like the way to go, regardless of how I end up implementing
it. 

> > Could you elaborate on what you have in mind? I wouldn't want to
> > duplicate effort.
> 
> I don't think you need to worry much about that. What I have in mind
> is just some simple form of threads running in more or less the same
> context as everything else.

Ok, I'll keep my eyes open on the commits mailing list. Thanks. 

Cheers, 
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://mailman.common-lisp.net/pipermail/movitz-devel/attachments/20041124/8b50828b/attachment.sig>


More information about the movitz-devel mailing list