From owner-freebsd-hackers Mon Aug 25 22:53:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA11249 for hackers-outgoing; Mon, 25 Aug 1997 22:53:50 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id WAA11242 for ; Mon, 25 Aug 1997 22:53:44 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id HAA26805 for hackers@FreeBSD.ORG; Tue, 26 Aug 1997 07:53:42 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.7/8.8.5) id HAA03283; Tue, 26 Aug 1997 07:46:46 +0200 (MET DST) Message-ID: <19970826074646.HW60392@uriah.heep.sax.de> Date: Tue, 26 Aug 1997 07:46:46 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG (hackers@freebsd.org) Subject: Re: special malloc needs... References: <199708251630.JAA18241@dragon.awen.com> <19970825222008.PD53308@uriah.heep.sax.de> <19970826124223.62337@lemis.com> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <19970826124223.62337@lemis.com>; from Greg Lehey on Aug 26, 1997 12:42:23 +0930 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Greg Lehey wrote: > > No, you can't do this. You get virtual memory, nothing else. It's > > not even backed with physical memory at all when you've got it. > > Well, you can't malloc() it, but you can try to mmap() it with > MAP_FIXED. man mmap(2). Of course, you can't. MAP_FIXED (if it succeeds at all) guarantees you a fixed VM address, nothing else. It's still VM, where each succeeding page can be anywhere in physical memory. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)