From owner-freebsd-hackers Fri Jul 28 18:19:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 0A5A837C22F for ; Fri, 28 Jul 2000 18:19:10 -0700 (PDT) (envelope-from darius@guppy.dons.net.au) Received: from guppy.dons.net.au (guppy.dons.net.au [203.31.81.9]) by midget.dons.net.au (8.9.3/8.9.1) with ESMTP id KAA50401; Sat, 29 Jul 2000 10:49:06 +0930 (CST) (envelope-from darius@guppy.dons.net.au) Received: (from darius@localhost) by guppy.dons.net.au (8.9.3/8.9.3) id KAA02516; Sat, 29 Jul 2000 10:49:04 +0930 (CST) (envelope-from darius) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <000701bff8f7$422e3bc0$0100000a@waldron.house> Date: Sat, 29 Jul 2000 10:49:04 +0930 (CST) From: "Daniel O'Connor" To: Isaac Waldron Subject: RE: Best way to lock malloc'd memory in kernel Cc: hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29-Jul-00 Isaac Waldron wrote: > I'm writing a device driver for plex86 (the FreeMWare virtual machine > software), and have a buffer that needs to be non-pageable. It was malloc'd > with the malloc(size, type, flags) kernel malloc function. What's the best > way to make this memory unpageable? No kernel memory is pageable so it doesn't matter :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message