Subject: Re: yamt-idlelwp: setting curlwp in MI code.
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: tech-kern
Date: 04/07/2007 08:34:43
On Saturday 07 April 2007 08:21, YAMAMOTO Takashi wrote:
> > On Friday 06 April 2007 03:22, YAMAMOTO Takashi wrote:
> > > > > how about having set_curlwp() which can be overridden by MD
> > > > > definition?
> > > >
> > > > Did you envision a new place where it would be used?
> > >
> > > - MI switching code. (namely mi_switch and lwp_startup)
> > > - main for boot cpu. MD cpu startup code for other cpus.
> > >
> > > i want to make asm code minimal.
> >
> > Will the possibility to provide optimised asm versions of large use
> > functions be removed?
> >
> > Nick
>
> can "curlwp = l" be optimized a lot if it was a part of cpu_switchto?
This isn't was I was thinking about. __HAVE_MD_RUNQUEUE seems to die on
yamt-idlelwp. Can't it be tied to sched_4bsd?
Nick