VirtualBox

Ignore:
Timestamp:
Sep 5, 2014 12:07:29 PM (10 years ago)
Author:
vboxsync
Message:

HostDrivers, Runtime, Devices, Additions: TSC delta measurement and other changes resulting from bumping supdrv major version. TSC delta measurement currently disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r47484 r52618  
    55
    66/*
    7  * Copyright (C) 2006-2013 Oracle Corporation
     7 * Copyright (C) 2006-2014 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    406406    ASMAtomicXchgPtr((void * volatile *)&pDev->hard_start_xmit, vboxNetFltLinuxStartXmitFilter);
    407407# endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 29) */
    408     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     408    RTSpinlockRelease(pThis->hSpinlock);
    409409}
    410410
     
    442442    else
    443443        pOverride = NULL;
    444     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     444    RTSpinlockRelease(pThis->hSpinlock);
    445445
    446446    if (pOverride)
     
    14651465            fFeatures = 0;
    14661466
    1467         RTSpinlockReleaseNoInts(pThis->hSpinlock);
     1467        RTSpinlockRelease(pThis->hSpinlock);
    14681468
    14691469        if (pThis->pSwitchPort)
     
    15791579    RTSpinlockAcquire(pThis->hSpinlock);
    15801580    ASMAtomicUoWritePtr(&pThis->u.s.pDev, pDev);
    1581     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     1581    RTSpinlockRelease(pThis->hSpinlock);
    15821582
    15831583    Log(("vboxNetFltLinuxAttachToInterface: Device %p(%s) retained. ref=%d\n",
     
    16291629        pDev = NULL; /* don't dereference it */
    16301630    }
    1631     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     1631    RTSpinlockRelease(pThis->hSpinlock);
    16321632
    16331633    /*
     
    16541654        RTSpinlockAcquire(pThis->hSpinlock);
    16551655        ASMAtomicUoWriteNullPtr(&pThis->u.s.pDev);
    1656         RTSpinlockReleaseNoInts(pThis->hSpinlock);
     1656        RTSpinlockRelease(pThis->hSpinlock);
    16571657        dev_put(pDev);
    16581658        Log(("vboxNetFltLinuxAttachToInterface: Device %p(%s) released. ref=%d\n",
     
    16931693        ASMAtomicUoWriteNullPtr(&pThis->u.s.pDev);
    16941694    }
    1695     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     1695    RTSpinlockRelease(pThis->hSpinlock);
    16961696
    16971697    if (fRegistered)
     
    20282028    pDev = ASMAtomicUoReadPtrT(&pThis->u.s.pDev, struct net_device *);
    20292029    fRegistered = ASMAtomicXchgBool(&pThis->u.s.fRegistered, false);
    2030     RTSpinlockReleaseNoInts(pThis->hSpinlock);
     2030    RTSpinlockRelease(pThis->hSpinlock);
    20312031
    20322032    if (fRegistered)
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