提交 a48cb5e5 创建 作者: David Benjamin's avatar David Benjamin

Remove GC epoches from radix

RCU-freeing the radix_nodes was punted for now, so we shouldn't need this.
上级 93b1e976
...@@ -182,8 +182,6 @@ struct radix_range { ...@@ -182,8 +182,6 @@ struct radix_range {
u64 start_; u64 start_;
u64 size_; u64 size_;
scoped_gc_epoch gc_;
radix_range(radix* r, u64 start, u64 size); radix_range(radix* r, u64 start, u64 size);
radix_range(radix_range&&); radix_range(radix_range&&);
~radix_range(); ~radix_range();
......
...@@ -146,7 +146,6 @@ radix::~radix() ...@@ -146,7 +146,6 @@ radix::~radix()
radix_elem* radix_elem*
radix::search(u64 key) radix::search(u64 key)
{ {
scoped_gc_epoch gc;
radix_entry cur = root_.load(); radix_entry cur = root_.load();
for (u32 level = radix_levels-1; level >= 0 && !cur.is_elem(); level--) { for (u32 level = radix_levels-1; level >= 0 && !cur.is_elem(); level--) {
cur = cur.node()->child[index(key >> shift_, level)].load(); cur = cur.node()->child[index(key >> shift_, level)].load();
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论