>Number: 170056 >Category: misc >Synopsis: [patch] emulators/virtualbox-ose-kmod needs modification after >VM KPI rename >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 21 19:50:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: n/a >Organization: n/a >Environment: n/a >Description: vm_contig_grow_cache was renamed to vm_pageout_grow_cache in r238561, and this broke virtual box-ose-kmod loading on CURRENT:
The attached patch is a simple string replace (I avoided the __FreeBSD_version #if because the KPI is a 10-CURRENT only KPI). 1. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=366211+0+current/freebsd-current 2. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=483944+0+current/freebsd-current >How-To-Repeat: >Fix: Patch attached with submission follows: Index: emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c =================================================================== --- emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c (revision 301281) +++ emulators/virtualbox-ose-kmod/files/patch-src-VBox-Runtime-r0drv-freebsd-memobj-r0drv-freebsd.c (working copy) @@ -149,7 +149,7 @@ + VM_OBJECT_UNLOCK(pObject); + if (pPages || tries >= 1) + break; -+ vm_contig_grow_cache(tries, 0, VmPhysAddrHigh); ++ vm_pageout_grow_cache(tries, 0, VmPhysAddrHigh); + tries++; + } + return pPages; @@ -176,7 +176,7 @@ + pPages = vm_phys_alloc_contig(cPages, 0, VmPhysAddrHigh, uAlignment, 0); + if (pPages || tries >= 1) + break; -+ vm_contig_grow_cache(tries, 0, VmPhysAddrHigh); ++ vm_pageout_grow_cache(tries, 0, VmPhysAddrHigh); + tries++; + } + if (!pPages) >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
