Subject: Re: yamt-idlelwp: setting curlwp in MI code.
To: None <tech-kern@netbsd.org>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 04/07/2007 12:05:43
> On Thu, Apr 05, 2007 at 03:44:45PM -0700, Matt Thomas wrote:
>
>> >I think there should be only two places curlwp needs to be set: before
>> >main() is called and when switching to another LWP. Personally, I think
>> >it's nicer to set them in the MD code.
>>
>> I don't care. But the change to i386 should have been discussed on a
>> list
>> so that other MD code owners would know to update their code.
>
> Fair cop - I should have held off until I had the complete set of changes
> ready. I'll update the branches file shortly.
Unfortunatley I won't be able to commit the remainder of the changes for
a day or two (doc/BRANCHES, don't set curlwp in MI code). If we are happy
to go with setting curlwp in MD code, then it doesn't hurt to do it.
FWIW, I have a patch to sync amd64 with i386, and some more changes for
MIPS (almost working, needs a bit more debugging).
Andrew