Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2002 15:04:58 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        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:  <200203142304.g2EN4wO49736@apollo.backplane.com>
References:   <1354.1016100735@critter.freebsd.dk>

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

: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)

    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203142304.g2EN4wO49736>