From owner-freebsd-current@FreeBSD.ORG Thu Dec 1 16:27:27 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 390871065670; Thu, 1 Dec 2011 16:27:27 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Bernhard Froehlich Date: Thu, 1 Dec 2011 11:27:14 -0500 User-Agent: KMail/1.6.2 References: <4ECF7440.4070300@entel.upc.edu> <201111301807.21351.jkim@FreeBSD.org> <60ea779052f025798cf65e18c24b7b31@bluelife.at> In-Reply-To: <60ea779052f025798cf65e18c24b7b31@bluelife.at> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112011127.18517.jkim@FreeBSD.org> Cc: Alan Cox , freebsd-emulation@freebsd.org, FreeBSD current , Gleb Kurtsou , Andriy Gapon Subject: Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 16:27:27 -0000 On Thursday 01 December 2011 03:37 am, 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-free > >bsd-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? Yes, as usual. :-) > Once there is some positive feedback I will commit both patches to > the ports tree. Thanks! Jung-uk Kim