From owner-freebsd-current@FreeBSD.ORG Thu Sep 27 06:00:48 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004FC16A418 for ; Thu, 27 Sep 2007 06:00:47 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id A3E8A13C4A6 for ; Thu, 27 Sep 2007 06:00:47 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id D41E320D3; Thu, 27 Sep 2007 08:00:40 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: 0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id C023620D2; Thu, 27 Sep 2007 08:00:40 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id A81538444C; Thu, 27 Sep 2007 08:00:40 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Chuck Swiger References: <20070921102946.T11189@borg> <46F415BF.9010500@FreeBSD.org> <20070921140550.D96923@thebighonker.lerctr.org> <46F41CFF.6080108@FreeBSD.org> <46F58799.1030702@freebsd.org> <46F58B21.8030307@FreeBSD.org> <20070924091558.GB32006@team.vega.ru> <46F78C59.1020801@FreeBSD.org> <20070924080347.O84223@thebighonker.lerctr.org> <20070924144210.GA82735@team.vega.ru> <46F7D7A4.5090007@samsco.org> <46F80A39.3050707@FreeBSD.org> <46F8951C.50904@freebsd.org> <46F8CE67.60206@FreeBSD.org> <46FA2E46.8020303@freebsd.org> Date: Thu, 27 Sep 2007 08:00:40 +0200 In-Reply-To: (Chuck Swiger's message of "Wed\, 26 Sep 2007 11\:21\:27 -0700") Message-ID: <86zlz8zlyv.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Darren Reed , Kris Kennaway , freebsd-current@freebsd.org, Larry Rosenman Subject: Re: panic: kmem_malloc(131072): kmem_map too small (AMD64) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2007 06:00:48 -0000 Chuck Swiger 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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no