summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authormini <mini@FreeBSD.org>2002-09-16 19:26:48 +0000
committermini <mini@FreeBSD.org>2002-09-16 19:26:48 +0000
commit94ac5d965f6dd6ceff971a557f94ebb21964eb16 (patch)
tree09197457aee9cb1034d0af122f395a7002dbabc2 /sys/kern/kern_fork.c
parent5375a15c910d0210dbf79d04fceb3ab24a2c9422 (diff)
downloadFreeBSD-src-94ac5d965f6dd6ceff971a557f94ebb21964eb16.zip
FreeBSD-src-94ac5d965f6dd6ceff971a557f94ebb21964eb16.tar.gz
Add kernel support needed for the KSE-aware libpthread:
- Use ucontext_t's to store KSE thread state. - Synthesize state for the UTS upon each upcall, rather than saving and copying a trapframe. - Deliver signals to KSE-aware processes via upcall. - Rename kse mailbox structure fields to be more BSD-like. - Store the UTS's stack in struct proc in a stack_t. Reviewed by: bde, deischen, julian Approved by: -arch
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 0b8b839..da7ca7d 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -488,8 +488,6 @@ again:
bcopy(&p1->p_startcopy, &p2->p_startcopy,
(unsigned) RANGEOF(struct proc, p_startcopy, p_endcopy));
- bcopy(&td->td_kse->ke_startcopy, &ke2->ke_startcopy,
- (unsigned) RANGEOF(struct kse, ke_startcopy, ke_endcopy));
bcopy(&td->td_startcopy, &td2->td_startcopy,
(unsigned) RANGEOF(struct thread, td_startcopy, td_endcopy));
bcopy(&td->td_ksegrp->kg_startcopy, &kg2->kg_startcopy,
OpenPOWER on IntegriCloud