lkml.org 
[lkml]   [2004]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel support for peer-to-peer protection models...
On Sun, 28 Mar 2004, Ivan Godard wrote:

> ----- Original Message -----
> From: "Paul Mackerras" <paulus@samba.org>
> To: "Ivan Godard" <igodard@pacbell.net>
> Cc: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
> Sent: Sunday, March 28, 2004 4:17 PM
> Subject: Re: Kernel support for peer-to-peer protection models...
>
>
> > Ivan Godard writes:
> >
> > > 3) flat, unified virtual addresses (64 bit) so that pointers, including
> > > inter-space pointers, have the same representation in all spaces
> >
> > How are you going to implement fork() ?
>
> The usual COW using the page tables. The child keeps the same code space but
> gets a new data space. I expect that specialized versions of fork will give
> explicit control over which space the child gets, but in comman usage no one
> cases just as no one cares which PID it gets.

Uh?

int myexec(char const *cmd) {

if (!fork()) {
exit(exec(cmd));
}
...
}



- Davide


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

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