
Trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.cĤ0 #if (defined(RT_ARCH_AMD64) || defined(DOXYGEN_RUNNING)) & !defined(RTMEMALLOC_EXEC_HEAP)Ĥ1 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)Ĥ3 * Starting with 2.6.23 we can use _get_vm_area and map_vm_area to allocateĤ4 * memory in the moduel range. var/log/vbox-setup.log after running /sbin/vboxconfig in F32 with kernel-5.8.86_64Ġ alloc-r0drv-linux.c 43 * Starting with 2.6.23 we can use _get_vm_area and map_vm_area to allocateġ alloc-r0drv-linux.c 171 pVmArea = _get_vm_area(cbAlloc, VM_ALLOC, MODULES_VADDR, MODULES_END)

#Arch virtualbox vboxconfig Patch
I think the code could use vm_map_ram() to map the papPages arrayĭirectly, but I would appreciate any help the developers could provide.Īpply fixes needed for kernel 5.8 difference in struct mm_structįixes associated with hiding of cpu tlbstate fixes_for_module_memory.patchĬhanges needed for kernel 5.8 for patch to module_memory to work # if LINUX_VERSION_CODE nr_pages = papPagesIterator - papPages If (!map_vm_area(pVmArea, PAGE_KERNEL_EXEC, # if LINUX_VERSION_CODE nr_pages = cPages * they provide a very convenient place for storing something we * Not entirely sure we really need to set nr_pages and pages Src/vboxdrv/r0drv/linux/alloc-r0drv-linux.c: The first of these are used in this snippet found in In the associated patch entitled "mm: only allow page table mappings for built-in zsmalloc", symbols map_vm_area() and unmap_kernel_range() are no longer exported. Get_vm_area_caller(), which has one additional argument that is always " builtin_return_address(0)."Ī second API change is more complicated, and above my understanding.

Thus far, I have found two incompatibilities with the 5.8 APIs. Unless I have patched our copy of the code for the VB kernel modules, my mailbox will be flooded with build failure messages. Thereafter, openSUSE Tumbleweed will start builds using that kernel. In a little over one week, Linus will release Kernel 5.8.0-rc1.
