Date: Wed, 30 Nov 2011 18:07:18 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-emulation@FreeBSD.org Cc: Gleb Kurtsou <gleb.kurtsou@gmail.com>, Gustau =?iso-8859-1?q?P=E9rez?= <gperez@entel.upc.edu>, FreeBSD current <freebsd-current@freebsd.org>, Alan Cox <alc@freebsd.org>, Andriy Gapon <avg@freebsd.org>, Michael Butler <imb@protected-networks.net> Subject: Re: Freeze with 10.0 and VirtualBox {4.1.4|4.1.6|4.1.51r38464} Message-ID: <201111301807.21351.jkim@FreeBSD.org> In-Reply-To: <4ED6AEFE.4010106@FreeBSD.org> References: <4ECF7440.4070300@entel.upc.edu> <20111126163343.GA9150@reks> <4ED6AEFE.4010106@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. Jung-uk Kim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111301807.21351.jkim>