From owner-freebsd-questions Wed Jul 10 16:59:13 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA28482 for questions-outgoing; Wed, 10 Jul 1996 16:59:13 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA28474 for ; Wed, 10 Jul 1996 16:59:08 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id SAA06850; Wed, 10 Jul 1996 18:57:11 -0500 (EST) From: "John S. Dyson" Message-Id: <199607102357.SAA06850@dyson.iquest.net> Subject: Re: kernel malloc question To: terry@lambert.org (Terry Lambert) Date: Wed, 10 Jul 1996 18:57:11 -0500 (EST) Cc: nate@mt.sri.com, jpbelang@crim.ca, freebsd-questions@FreeBSD.org In-Reply-To: <199607102334.QAA27730@phaeton.artisoft.com> from "Terry Lambert" at Jul 10, 96 04:34:09 pm Reply-To: dyson@FreeBSD.org X-Mailer: ELM [version 2.4 PL24 ME8] 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. > Our pipe buffers are pageable... John