From owner-freebsd-emulation@FreeBSD.ORG Fri Dec 2 11:55:35 2011 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 CC27410656D1; Fri, 2 Dec 2011 11:55:35 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 579948FC1A; Fri, 2 Dec 2011 11:55:35 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 396105; Fri, 2 Dec 2011 12:55:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 02 Dec 2011 12:55:35 +0100 From: Bernhard Froehlich To: Bernhard Froehlich In-Reply-To: <60ea779052f025798cf65e18c24b7b31@bluelife.at> References: <4ECF7440.4070300@entel.upc.edu> <20111126163343.GA9150@reks> <4ED6AEFE.4010106@FreeBSD.org> <201111301807.21351.jkim@FreeBSD.org> <60ea779052f025798cf65e18c24b7b31@bluelife.at> Message-ID: <47eb9f9b139dd8c59b050f1670a5f18d@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.6 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0206.4ED8BCB6.013F,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: Gleb Kurtsou , Alan Cox , Gapon , freebsd-emulation@freebsd.org, FreeBSD current , Andriy Subject: Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464} 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: Fri, 02 Dec 2011 11:55:35 -0000 On 01.12.2011 09:37, Bernhard Froehlich wrote: > On 01.12.2011 00:07, Jung-uk Kim wrote: >> On Wednesday 30 November 2011 05:32 pm, Andriy Gapon wrote: >>> on 26/11/2011 18:33 Gleb Kurtsou said the following: >>> > Using new vm_page_alloc_contig() may be a better option here. >>> > Can't help with patch, stuck with pre Nov 15 CURRENT myself. >>> >>> on 27/11/2011 19:09 Alan Cox said the following: >>> > vm_page_alloc_contig() should be used instead. >>> >>> My take on the patch: >>> http://people.freebsd.org/~avg/vbox-10.patch >>> This is for head only, no check for FreeBSD version. >> >> Actually, I did the same thing last night: >> >> >> http://people.freebsd.org/~jkim/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c >> >> This is a drop-in replacement for the patch. The only practical >> difference I see from yours is I used VM_ALLOC_INTERRUPT instead of >> VM_ALLOC_NORMAL. I believe this function may be used in interrupt >> context. FYI, I tried FreeBSD 9 and Fedora 10 without problem. > > Thanks a lot for both patches! Could you please as usual reply and > tell > me if it is okay to send this patch upstream under MIT license? > > Once there is some positive feedback I will commit both patches to > the ports tree. Patch has been send upstream: https://www.virtualbox.org/pipermail/vbox-dev/2011-December/004842.html -- Bernhard Froehlich http://www.bluelife.at/