The first hunk of the patch fixes a compile problem on FreeBSD 10-CURRENT:

Remove explicit initialization of m->flags and m->oflags because per
default vm_phys_alloc_contig() already initializes the page as unmanaged.
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 hosts:

panic: mutex vm page queue free mutex not owned at /root/deviant2/sys/vm/vm_phys.c:882


The patch has been created by Jung-uk Kim <[email protected]> and is attached and available here:
http://people.freebsd.org/~jkim/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c

License of the patch is MIT as usual.
http://lists.freebsd.org/pipermail/freebsd-current/2011-December/029866.html

--
Bernhard Fröhlich
http://www.bluelife.at/

Attachment: patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c
Description: Binary data

_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to