Subject: Re: CVS commit: src/sys/kern
To: Jason Thorpe <thorpej@shagadelic.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 03/13/2007 03:44:50
>
> On Mar 12, 2007, at 5:35 PM, Andrew Doran wrote:
>
>> Module Name:    src
>> Committed By:    ad
>> Date:        Tue Mar 13 00:35:44 UTC 2007
>>
>> Modified Files:
>>    src/sys/kern: kern_fork.c
>>
>> Log Message:
>> Sync with kern_proc.c: make p2->p_rasmutex a spin mutex at IPL_SCHED.
>
> Why does this have to be at IPL_SCHED?  Oh, because it's accessed in
> the guts of cpu_switch()?

Yup. Otherwise, it's not safe.

Andrew