From owner-freebsd-hackers Fri Jul 28 17:52:51 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from unix.worldpath.net (unix.worldpath.net [206.152.180.10]) by hub.freebsd.org (Postfix) with ESMTP id 15FA737B5C3 for ; Fri, 28 Jul 2000 17:52:47 -0700 (PDT) (envelope-from waldroni@lr.net) Received: from camry ([208.133.220.153]) by unix.worldpath.net (8.9.3/8.9.3(WPI)) with SMTP id UAA11225 for ; Fri, 28 Jul 2000 20:52:44 -0400 (EDT) Message-ID: <000701bff8f7$422e3bc0$0100000a@waldron.house> Reply-To: "Isaac Waldron" From: "Isaac Waldron" To: Subject: Best way to lock malloc'd memory in kernel Date: Fri, 28 Jul 2000 20:52:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks in advance, Isaac Waldron waldroni at lr dot net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message