fix braino..
was clearing part of wrong thread structure..
This commit is contained in:
parent
b8b743d723
commit
c0698d32ce
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103072
@ -419,7 +419,7 @@ thread_schedule_upcall(struct thread *td, struct kse *ke)
|
||||
}
|
||||
CTR3(KTR_PROC, "thread_schedule_upcall: thread %p (pid %d, %s)",
|
||||
td, td->td_proc->p_pid, td->td_proc->p_comm);
|
||||
bzero(&td->td_startzero,
|
||||
bzero(&td2->td_startzero,
|
||||
(unsigned)RANGEOF(struct thread, td_startzero, td_endzero));
|
||||
bcopy(&td->td_startcopy, &td2->td_startcopy,
|
||||
(unsigned) RANGEOF(struct thread, td_startcopy, td_endcopy));
|
||||
|
@ -419,7 +419,7 @@ thread_schedule_upcall(struct thread *td, struct kse *ke)
|
||||
}
|
||||
CTR3(KTR_PROC, "thread_schedule_upcall: thread %p (pid %d, %s)",
|
||||
td, td->td_proc->p_pid, td->td_proc->p_comm);
|
||||
bzero(&td->td_startzero,
|
||||
bzero(&td2->td_startzero,
|
||||
(unsigned)RANGEOF(struct thread, td_startzero, td_endzero));
|
||||
bcopy(&td->td_startcopy, &td2->td_startcopy,
|
||||
(unsigned) RANGEOF(struct thread, td_startcopy, td_endcopy));
|
||||
|
Loading…
Reference in New Issue
Block a user