Subject: Re: CVS commit: src/sys
To: Gregory McGarry <gmcgarry@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 12/20/2002 08:28:31
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>