From 14621f8eadcfb514fc463e61a92b36d2e4f42918 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 23 Sep 2002 14:01:01 +0000 Subject: oops don't do dthe copy range in a new KSE. There isn't one any more. --- sys/kern/kern_proc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/kern') diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index c0fb226..3a64050 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -371,8 +371,10 @@ kse_new(struct thread *td, struct kse_new_args *uap) bzero(&newke->ke_startzero, RANGEOF(struct kse, ke_startzero, ke_endzero)); mtx_lock_spin(&sched_lock); +#if 0 bcopy(&td->td_kse->ke_startcopy, &newke->ke_startcopy, RANGEOF(struct kse, ke_startcopy, ke_endcopy)); +#endif } else { /* * We are switching to KSEs so just -- cgit v1.1