Remove what I think is an incorrect assert from vm.cc.
In vmap::pagefault the assert assumed a PRIVATE vma would have a
vmnode with 1 ref. In vmap::copy, however, the vmnode reference is
incremented, then the vma is replaced with one of type COW. If a
thread is pagefaulting while another is forking there is a race.
正在显示
请
注册
或者
登录
后发表评论