From owner-freebsd-stable Sun Sep 1 19:12:23 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38FF137B400 for ; Sun, 1 Sep 2002 19:12:21 -0700 (PDT) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA31843E3B for ; Sun, 1 Sep 2002 19:12:19 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA73436; Mon, 2 Sep 2002 12:12:17 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA26976; Mon, 2 Sep 2002 12:12:13 +1000 (EST) Message-Id: <200209020212.MAA26976@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: "Marc G. Fournier" Cc: Gregory Bond , Matthew Dillon , freebsd-stable@FreeBSD.ORG Subject: Re: Problems with FreeBSD - causing zalloc to return 0 ?! In-reply-to: Your message of Sun, 01 Sep 2002 22:52:38 -0300. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Sep 2002 12:12:13 +1000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > kernel_vm_end: 0xf1400000 > > and vm.kvm_free: > > vm.kvm_free: 239075328 > > so I have 239Meg free? *raised eyebrow* Have a look at src/sys/i386/i386/pmap.c. VM_MAX_KERNEL_ADDRESS is 0xffc00000 so kernel_vm_end=0xf1400000 implies (hrm, hex arithmetic!) 0xe800000 which is about 240Mb free. Modulo race conditions etc that seems reasonable. But I am not a kernel hacker! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message