PERFORCE change 50802 for review
    Julian Elischer 
    julian at FreeBSD.org
       
    Sat Apr 10 15:42:05 PDT 2004
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=50802
Change 50802 by julian at julian_jules1 on 2004/04/10 15:41:57
	catch up with a fix in -current
Affected files ...
.. //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd.c#4 edit
Differences ...
==== //depot/projects/nsched/sys/kern/scheduler/4bsd/sched_4bsd.c#4 (text+ko) ====
@@ -542,7 +542,7 @@
 void
 sched_exit_thread(struct proc *parent, struct thread *childtd)
 {
-	if ((parent->p_flag & P_NOLOAD) == 0)
+	if ((childtd->td_proc->p_flag & P_NOLOAD) == 0)
 		sched_tdcnt--;
 	if (childtd->td_kse)
 		sched_exit_kse(parent, childtd);
    
    
More information about the p4-projects
mailing list