[vbox-dev] [PATCH] Fix FreeBSD panic: mutex vm page queue free mutex not owned and PG_UNMANAGED compile problem

Bernhard Froehlich decke at bluelife.at
Fri Dec 2 11:52:49 GMT 2011

The first hunk of the patch fixes a compile problem on FreeBSD 

Remove explicit initialization of m->flags and m->oflags because per
default vm_phys_alloc_contig() already initializes the page as 
Chase move of PG_UNMANAGED flag from m->flags to m->oflags and renaming
to VPO_UNMANAGED for an additional assert.

The following hunks fix the following panic on FreeBSD 10-CURRENT 

panic: mutex vm page queue free mutex not owned at 

The patch has been created by Jung-uk Kim <jkim at FreeBSD.org> and is 
attached and available here:

License of the patch is MIT as usual.

Bernhard Fröhlich
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c
Type: application/octet-stream
Size: 2291 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111202/e493eee9/attachment.obj>

More information about the vbox-dev mailing list