Subject: Re: CVS commit: [yamt-idlelwp] src/sys
To: None <rmind@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 03/24/2007 22:46:01
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > > yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
> > > > do you still need the lwp argument for sched_nextlwp()?
> > > Thought curlwp could be used instead. Remove it?
> > 
> > whichever curlwp or an explicit argument, does your sched_nextlwp use it
> > for something?
> Yes, it needs "old" LWP, which is equal to curlwp at that stage.

for what purpose?

> So I suggest
> to remove the argument and use curlwp inside (when needed, of course).

i'm not inclined to teach schedulers about curlwp.

YAMAMOTO Takashi