proc: fix deadlock after process exit

This commit is contained in:
Michael Shaw 2025-02-12 09:57:44 -05:00
commit a28088aea6
6 changed files with 59 additions and 17 deletions

View file

@ -266,7 +266,6 @@ paddr_t proc_clone_mmap(struct proc *in, struct proc *out)
paddr_t paddr = (paddr_t)buddy_alloc(len);
phys_memcpy((void *)paddr, o_paddr, len);
paddr = virt_to_phys(paddr, kcr3);
uint64_t attr = node->value3;
proc_mmap(out, paddr, vaddr, len, attr);