juice500ml/os-sogang

upage-kpage relation when multiple processes are running

Opened this issue · 0 comments

/vm/page.c install_page defines relation between kpage and upage. it checks with pagedir_get_page if it exists beforehand.
but if multiple processes run(tests/userprog/exec-multiple), assert(p->upage==null) fails (there exists kpage-upage1, kpage-upage2 in same thread)