oscourse-tsinghua / rcore_plus

Rust version of THU uCore OS. Linux compatible.
MIT License
172 stars 26 forks source link

deadlock: page fault handler fails to lock process in readv() syscall. #17

Closed jiegec closed 5 years ago

jiegec commented 5 years ago

Solutions:

  1. Map delay-mapped pages in check(mut)ptr
  2. Drop lock explicitly
  3. Make lock reentrant
jiegec commented 5 years ago

We use No. 2 solution for now.