提交 6ce6fd86 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

do not use VERIFYFREE by default because it's susceptible

to false positives due to race conditions on real hardware
上级 95d8e322
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#define SPINLOCK_DEBUG 1 // Debug spin locks #define SPINLOCK_DEBUG 1 // Debug spin locks
#define RCU_TYPE_DEBUG 1 #define RCU_TYPE_DEBUG 1
#define LOCKSTAT 1 #define LOCKSTAT 1
#define VERIFYFREE LOCKSTAT #define VERIFYFREE 0 // Unreliable, e.g. vma's vmnode pointer gets reused
#define ALLOC_MEMSET 1 #define ALLOC_MEMSET 1
#define KSHAREDSIZE (32 << 10) #define KSHAREDSIZE (32 << 10)
#define WQSHIFT 4 #define WQSHIFT 4
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论