提交 22cc499f 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

no vmap lock means we can do a proper tlbflush()

上级 cbc50063
...@@ -242,10 +242,8 @@ vmap::copy(int share) ...@@ -242,10 +242,8 @@ vmap::copy(int share)
span.replace(ne); span.replace(ne);
} }
if (share) { if (share)
// XXX should really be tlbflush(), but callers hold some locks.. tlbflush(); // Reload hardware page table
lcr3(rcr3()); // Reload hardware page table
}
return nm; return nm;
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论