提交 72a20b37 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

build with RCU_TYPE_DEBUG 0

上级 2fc9b108
......@@ -58,7 +58,9 @@ gc_free_tofreelist(atomic<rcu_freed*> *head, u64 epoch)
for (; r; r = nr) {
if (r->_rcu_epoch > epoch) {
cprintf("gc_free_tofreelist: r->epoch %ld > epoch %ld\n", r->_rcu_epoch, epoch);
#if RCU_TYPE_DEBUG
cprintf("gc_free_tofreelist: name %s\n", r->_rcu_type);
#endif
assert(0);
}
nr = r->_rcu_next;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论