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 GaponReceived on Wed Nov 30 2011 - 22:35:35 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC