From owner-freebsd-questions Wed Jul 10 16:39:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA26205 for questions-outgoing; Wed, 10 Jul 1996 16:39:01 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id QAA26200 for ; Wed, 10 Jul 1996 16:38:59 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id QAA27730; Wed, 10 Jul 1996 16:34:09 -0700 From: Terry Lambert Message-Id: <199607102334.QAA27730@phaeton.artisoft.com> Subject: Re: kernel malloc question To: nate@mt.sri.com (Nate Williams) Date: Wed, 10 Jul 1996 16:34:09 -0700 (MST) Cc: jpbelang@crim.ca, freebsd-questions@FreeBSD.org In-Reply-To: <199607102038.OAA24876@rocky.mt.sri.com> from "Nate Williams" at Jul 10, 96 02:38:55 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > This is a beginner device driver question: > > The kernel malloc returns physical memory (non swappable), right? > > Is there any way to get virtual memory ? > > Since the kernel can't be swapped, why would you want virtual memory? > The driver can't be 'swapped', so virtual buys you nothing. I could see wanting to allocate per process memory, rather than globally allocating memory, in a multiple use driver. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.