From owner-freebsd-questions Fri Jul 12 06:53:23 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA12982 for questions-outgoing; Fri, 12 Jul 1996 06:53:23 -0700 (PDT) Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA12969 for ; Fri, 12 Jul 1996 06:53:20 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net id ai29296; 12 Jul 96 14:52 +0100 Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa29140; 11 Jul 96 1:01 +0100 Received: (from fqueries@localhost) by jraynard.demon.co.uk (8.6.12/8.6.12) id WAA04010; Wed, 10 Jul 1996 22:32:41 GMT Date: Wed, 10 Jul 1996 22:32:41 GMT Message-Id: <199607102232.WAA04010@jraynard.demon.co.uk> From: James Raynard To: jpbelang@crim.ca CC: freebsd-questions@freebsd.org In-reply-to: <199607102004.QAA28604@hobbes.crim.ca> (message from Jean-Philippe Belanger on Wed, 10 Jul 1996 16:04:20 -0400) Subject: Re: kernel malloc question 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? Yes, all memory used by the kernel is non-pageable, although changing this is on the wish-list. > Is there any way to get virtual memory ? Not as far as I know. Incidentally, if you haven't already seen it, the guide to writing FreeBSD device drivers at http://www.freebsd.org/tutorials/ is well worth reading. -- James Raynard, Edinburgh, Scotland james@jraynard.demon.co.uk http://www.freebsd.org/~jraynard/