From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 22 17:31:52 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C26416A4CE for ; Mon, 22 Dec 2003 17:31:52 -0800 (PST) Received: from smtp106.mail.sc5.yahoo.com (smtp106.mail.sc5.yahoo.com [66.163.169.226]) by mx1.FreeBSD.org (Postfix) with SMTP id C7E6243D31 for ; Mon, 22 Dec 2003 17:31:51 -0800 (PST) (envelope-from q_dolan@yahoo.com.au) Received: from unknown (HELO ?172.22.1.10?) (q?dolan@203.10.89.16 with plain) by smtp106.mail.sc5.yahoo.com with SMTP; 23 Dec 2003 01:31:51 -0000 From: Q To: Aniruddha Bohra In-Reply-To: <3FE71A91.8050207@cs.rutgers.edu> References: <3FE71A91.8050207@cs.rutgers.edu> Content-Type: text/plain Message-Id: <1072143103.9461.16.camel@boxster.onthenet.com.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 23 Dec 2003 11:31:44 +1000 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: Per CPU region of memory X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 01:31:52 -0000 On Tue, 2003-12-23 at 02:23, Aniruddha Bohra wrote: > Hello, > I am writing a loadable kernel module where I > need a per-cpu region of wired memory. The module should > work for -current and -stable. > > How can I get such a region of memory? > Any docs or pointers would be great. Try looking at contigmalloc (in sys/vm/vm_contig.c) -- Seeya...Q -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- _____ / Quinton Dolan q_dolan@yahoo.com.au __ __/ / / __/ / / / __ / _/ / / Gold Coast, QLD, Australia __/ __/ __/ ____/ / - / Ph: +61 419 729 806 _______ / _\