VirtualBox

Changeset 98867 in vbox


Ignore:
Timestamp:
Mar 7, 2023 5:18:31 PM (21 months ago)
Author:
vboxsync
Message:

Linux: vboxdrv: Introduce initial support for kernel 6.3.x series, bugref:10381.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r98103 r98867  
    14021402            {
    14031403                flush_dcache_page(pMemLnx->apPages[rc]);
     1404#if RTLNX_VER_MIN(6,3,0)
     1405                vm_flags_set(papVMAs[rc], VM_DONTCOPY | VM_LOCKED);
     1406#else
    14041407                papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED;
     1408#endif
    14051409            }
    14061410
     
    18731877                    /* Thes flags help making 100% sure some bad stuff wont happen (swap, core, ++).
    18741878                     * See remap_pfn_range() in mm/memory.c */
    1875 #if    RTLNX_VER_MIN(3,7,0)
     1879
     1880#if    RTLNX_VER_MIN(6,3,0)
     1881                    vm_flags_set(vma, VM_DONTEXPAND | VM_DONTDUMP);
     1882#elif  RTLNX_VER_MIN(3,7,0)
    18761883                    vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP;
    18771884#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette