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

Dag-Erling Smørgrav des at des.no
Wed Sep 26 23:00:48 PDT 2007


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


More information about the freebsd-current mailing list