Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 2002 12:12:13 +1000
From:      Gregory Bond <gnb@itga.com.au>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        Gregory Bond <gnb@itga.com.au>, Matthew Dillon <dillon@apollo.backplane.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Problems with FreeBSD - causing zalloc to return 0 ?! 
Message-ID:  <200209020212.MAA26976@lightning.itga.com.au>
In-Reply-To: Your message of Sun, 01 Sep 2002 22:52:38 -0300.

next in thread | raw e-mail | index | archive | help
> 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




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