From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 14 17:31:43 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE299106566B for ; Wed, 14 Apr 2010 17:31:43 +0000 (UTC) (envelope-from alc@cs.rice.edu) Received: from mail.cs.rice.edu (mail.cs.rice.edu [128.42.1.31]) by mx1.freebsd.org (Postfix) with ESMTP id 8193C8FC0C for ; Wed, 14 Apr 2010 17:31:43 +0000 (UTC) Received: from mail.cs.rice.edu (localhost.localdomain [127.0.0.1]) by mail.cs.rice.edu (Postfix) with ESMTP id E5C2E2C2C60 for ; Wed, 14 Apr 2010 12:13:08 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.0 at mail.cs.rice.edu Received: from mail.cs.rice.edu ([127.0.0.1]) by mail.cs.rice.edu (mail.cs.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oKGJxSSqnGXd; Wed, 14 Apr 2010 12:13:08 -0500 (CDT) Received: from adsl-216-63-78-18.dsl.hstntx.swbell.net (adsl-216-63-78-18.dsl.hstntx.swbell.net [216.63.78.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.rice.edu (Postfix) with ESMTP id 0B6452C2C55; Wed, 14 Apr 2010 12:13:07 -0500 (CDT) Message-ID: <4BC5F7A3.5090603@cs.rice.edu> Date: Wed, 14 Apr 2010 12:13:07 -0500 From: Alan Cox User-Agent: Thunderbird 2.0.0.24 (X11/20100327) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alan Cox Subject: VirtualBox and kmem_alloc_attr() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 17:31:43 -0000 I have added a new kernel interface for allocating kernel virtual memory, kmem_alloc_attr(), that should make a proper implementation of VirtualBox's function rtR0MemObjNativeAllocLow() easy. kmem_alloc_attr() is now supported by HEAD, 8-STABLE, and 7-STABLE. Regards, Alan