VirtualBox

vbox的更動 44451 路徑 trunk/src/VBox/Runtime/r0drv


忽略:
時間撮記:
2013-1-30 上午07:58:43 (12 年 以前)
作者:
vboxsync
訊息:

BUGZ:6570 Add comment.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r0drv/linux/spinlock-r0drv-linux.c

    r44443 r44451  
    9595#endif
    9696
     97    /*
     98       PLEASE DO NOT MODIFY THE NEXT FOUR LINES OF CODE!
     99
     100       We use this approach in order to split RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE and
     101       RTSPINLOCK_FLAGS_INTERRUPT_SAFE spinlocks into separated locking classes when
     102       CONFIG_PROVE_LOCKING kernel option is enabled. Using single spin_lock_init()
     103       call will trigger kernel warning regarding to incorrect spinlock usage.
     104     */
    97105    if (fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE)
    98106        spin_lock_init(&pThis->Spinlock);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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