Changeset 98867 in vbox
- Timestamp:
- Mar 7, 2023 5:18:31 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r98103 r98867 1402 1402 { 1403 1403 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 1404 1407 papVMAs[rc]->vm_flags |= VM_DONTCOPY | VM_LOCKED; 1408 #endif 1405 1409 } 1406 1410 … … 1873 1877 /* Thes flags help making 100% sure some bad stuff wont happen (swap, core, ++). 1874 1878 * 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) 1876 1883 vma->vm_flags |= VM_DONTEXPAND | VM_DONTDUMP; 1877 1884 #else
Note:
See TracChangeset
for help on using the changeset viewer.