From owner-freebsd-current@FreeBSD.ORG Wed Nov 30 23:35:35 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFEC2106564A; Wed, 30 Nov 2011 23:35:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5C58A8FC08; Wed, 30 Nov 2011 23:35:33 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA28505; Thu, 01 Dec 2011 01:35:31 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RVtgZ-0004bm-77; Thu, 01 Dec 2011 01:35:31 +0200 Message-ID: <4ED6BDC1.8020600@FreeBSD.org> Date: Thu, 01 Dec 2011 01:35:29 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: Jung-uk Kim References: <4ECF7440.4070300@entel.upc.edu> <4ED6AEFE.4010106@FreeBSD.org> <201111301807.21351.jkim@FreeBSD.org> <201111301827.46079.jkim@FreeBSD.org> In-Reply-To: <201111301827.46079.jkim@FreeBSD.org> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alan Cox , freebsd-emulation@FreeBSD.org, FreeBSD current , Gleb Kurtsou 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: Wed, 30 Nov 2011 23:35:35 -0000 on 01/12/2011 01:27 Jung-uk Kim said the following: > On Wednesday 30 November 2011 06:07 pm, 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-freebs >> d-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. > > BTW, I needed another patch to build virtual-ose-kmod on head: > > http://people.freebsd.org/~jkim/patch-src-VBox-HostDrivers-Support-freebsd-SUPDrv-freebsd.c > > FYI... Yep, me too, obviously :-) Thank you for the complete vm_page_alloc_contig patch! -- Andriy Gapon