PERFORCE change 56649 for review

Peter Wemm peter at FreeBSD.org
Tue Jul 6 17:06:44 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=56649

Change 56649 by peter at peter_daintree on 2004/07/07 00:06:41

	Turn ule preemption back on in order to test it more.
	The IFC a few seconds ago turned it off.

Affected files ...

.. //depot/projects/hammer/sys/kern/sched_ule.c#37 edit

Differences ...

==== //depot/projects/hammer/sys/kern/sched_ule.c#37 (text+ko) ====

@@ -1623,7 +1623,6 @@
         if (td->td_priority < curthread->td_priority)
                 curthread->td_flags |= TDF_NEEDRESCHED;
 
-#if 0
 #ifdef SMP
 	/*
 	 * Only try to preempt if the thread is unpinned or pinned to the
@@ -1633,7 +1632,6 @@
 #endif
 	if (maybe_preempt(td))
 		return;
-#endif
 	ke->ke_ksegrp->kg_runq_kses++;
 	ke->ke_state = KES_ONRUNQ;
 


More information about the p4-projects mailing list