Re: panic: kmem_malloc(131072): kmem_map too small (AMD64)

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Thu, 27 Sep 2007 08:00:40 +0200
Chuck Swiger <cswiger_at_mac.com> writes:
> I'm not certain whether FreeBSD's kernel memory allocator [malloc(9),
> zone(9)] even supports the notion of allocating pageable memory
> rather than memory taken from the fixed KVA region.  The manpage
> implies that calling kernel malloc with M_WAITOK will always return a
> valid pointer and not NULL, but I'm not convinced this is will be
> true if you try allocating something larger than the size of KVA and/
> or the amount of physical RAM available in the system.

malloc(M_WAITOK) will panic if the request is not satisfiable.  Where do
you think "kmem_map too small" comes from?

DES
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Thu Sep 27 2007 - 04:00:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC