From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 21 12:53:37 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7237937B41A for ; Mon, 21 Jul 2003 12:53:37 -0700 (PDT) Received: from hysteria.spc.org (hysteria.spc.org [195.206.69.234]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E3F543F85 for ; Mon, 21 Jul 2003 12:53:36 -0700 (PDT) (envelope-from bms@hysteria.spc.org) Received: (qmail 16492 invoked by uid 5013); 21 Jul 2003 19:51:19 -0000 Date: Mon, 21 Jul 2003 20:51:19 +0100 From: Bruce M Simpson To: Pawel Jakub Dawidek Message-ID: <20030721195119.GG22295@spc.org> Mail-Followup-To: Bruce M Simpson , Pawel Jakub Dawidek , Matthew Dillon , freebsd-hackers@freebsd.org References: <20030720235759.GJ437@garage.freebsd.pl> <20030721181805.GA43543@garage.freebsd.pl> <200307211903.h6LJ3xrX027536@apollo.backplane.com> <20030721191622.GC43543@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030721191622.GC43543@garage.freebsd.pl> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org cc: Matthew Dillon Subject: Re: VM problem... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 19:53:37 -0000 Hi Pawel, On Mon, Jul 21, 2003 at 09:16:22PM +0200, Pawel Jakub Dawidek wrote: > I'm allocationg memory with obreak() function (so vm_map_find() function > is used to find space). But if I try to allocate size (and size is small), > obreak() will allocate more memory. You may find the vm_map and pmap documentation which I have just submitted to the project helpful for reference:- http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/54691 http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/54632 and ref: our online conversation about the vm_map_insert() semantics (and possible failure mode re: NULL vm_object argument for the user process case). Regards, BMS