Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 15:07:58 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Alfred Perlstein <bright@mu.org>, David Greenman <dg@root.com>, John Indra <maverick@office.naver.co.id>, freebsd-current@FreeBSD.ORG
Subject:   Re: malloc() and the stock Perl in -CURRENT (and -STABLE) 
Message-ID:  <Pine.BSF.4.21.0203141506540.81090-100000@InterJet.elischer.org>
In-Reply-To: <200203142304.g2EN4wO49736@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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
> :phk@FreeBSD.ORG         | 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 
> 					<dillon@backplane.com>
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0203141506540.81090-100000>