From owner-freebsd-current Thu Mar 14 15:20:22 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 79E5237B419 for ; Thu, 14 Mar 2002 15:20:08 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020314232008.JRVP1214.rwcrmhc54.attbi.com@InterJet.elischer.org>; Thu, 14 Mar 2002 23:20:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA82445; Thu, 14 Mar 2002 15:07:59 -0800 (PST) Date: Thu, 14 Mar 2002 15:07:58 -0800 (PST) From: Julian Elischer To: Matthew Dillon Cc: Poul-Henning Kamp , Alfred Perlstein , David Greenman , John Indra , freebsd-current@FreeBSD.ORG Subject: Re: malloc() and the stock Perl in -CURRENT (and -STABLE) In-Reply-To: <200203142304.g2EN4wO49736@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 > > > 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