Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On Fri, Dec 20, 2002 at 07:43:11AM +0200, Gregory McGarry wrote:

 > Modified Files:
 >      src/sys/kern: kern_synch.c
 >      src/sys/sys: proc.h
 > 
 > Log Message:
 > Remove yield() until the scheduler supports the sched_yield(2) system
 > call.

Can you please put it back?  Any compat modules that do a "yield" operation
should use yield() rather than need_resched(), because need_resched() gets
recorded as an involuntary context switch ("preempt").

-- 
        -- Jason R. Thorpe <thorpej%wasabisystems.com@localhost>



Home | Main Index | Thread Index | Old Index