VirtualBox

Changeset 18250 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 25, 2009 12:47:17 PM (16 years ago)
Author:
vboxsync
Message:

enable vm_insert_page() for Linux 2.6.23+

File:
1 edited

Legend:

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

    r16464 r18250  
    5151#endif
    5252
     53/*
     54 * 2.6.29+ kernels don't work with remap_pfn_range() anymore because
     55 * track_pfn_vma_new() is apparently not defined for non-RAM pages.
     56 * It should be safe to use vm_insert_page() older kernels as well.
     57 */
     58#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 23)
     59# define VBOX_USE_INSERT_PAGE
     60#endif
    5361
    5462/*******************************************************************************
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