xpmem: support for fork()

refs #925
This commit is contained in:
Ken Sato
2018-02-22 09:37:48 +09:00
parent c9157f273f
commit c260b5c6f3
18 changed files with 1449 additions and 38 deletions

View File

@@ -509,6 +509,10 @@ clone_thread(struct thread *org, unsigned long pc, unsigned long sp,
mckfd->next = proc->mckfd;
proc->mckfd = mckfd;
}
if (mckfd->dup_cb) {
mckfd->dup_cb(mckfd, NULL);
}
}
ihk_mc_spinlock_unlock(&proc->mckfd_lock, irqstate);