提交 1a129849 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

One gc thread moves a delay list to a tofree list

Each core's gc thread free elements on the tofree list
上级 cdaa456b
差异被折叠。
......@@ -23,7 +23,6 @@ struct stat;
struct proc;
struct vmap;
struct pipe;
struct gc;
// bio.c
void binit(void);
......
......@@ -54,10 +54,8 @@ struct proc {
SLIST_ENTRY(proc) child_next;
struct condvar cv;
u64 epoch;
u64 ndelayed;
struct gc *gc_epoch;
struct spinlock gc_lock;
u64 rcu_read_depth;
struct spinlock gc_epoch_lock;
u64 epoch_depth;
char lockname[16];
int on_runq;
int cpu_pin;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论