Subject: Re: yamt-idlelwp: setting curlwp in MI code.
To: None <nick.hudson@dsl.pipex.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 04/07/2007 16:21:15
> 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?

YAMAMOTO Takashi