On Thu, 14 Mar 2002, Matthew Dillon wrote:

> 
> :thing to do in FreeBSD ?  :-)
> :
> :And everybody with VM clue I've asked says it would be trivial to
> :flip two page-table entries, so for all I care it can be
> :
> :     mexchangemapping(void *from, void *to, size_t length)
> :
> :-- 
> :Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> :[EMAIL PROTECTED]         | TCP/IP since RFC 956
> :FreeBSD committer       | BSD since 4.3-tahoe    
> 
>     Or
> 
>     mcopymap(from, to, length, flags)

I'm not sure you want to copy it..
I mean you want the dta di disappear from the old address.
It's more a "movepages()"

> 
>     flags:
> 
>       MAP_SHARED      share the same content (we back them with the
>                       same VM objects).
> 
>       MAP_PRIVATE     copy on write, as if you fork()d and the parent
>                       was the original area and the child is the new 
>                       area.
> 
>     But I'm not volunteering.
> 
>                                       -Matt
>                                       Matthew Dillon 
>                                       <[EMAIL PROTECTED]>
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to