Subject: Re: powerpc softintr
To: None <freza@dspfpga.com>
From: Tadashi G.Takaoka <t2@method.jp>
List: port-powerpc
Date: 01/31/2007 07:34:54
Hi, Jachym Holecek.
On Tue, 30 Jan 2007 23:10:35 +0100,
Jachym Holecek <freza AT dspfpga.com> wrote
># Tadashi G. Takaoka 2006-06-27:
>> I think powerpc's softintr_schedule() has a problem when checking
>> si->si_refs value. It should be checked in splvm() guard. right?
>>
>> I have experienced KASSERT(si->si_refs > 0) failed at softintr__run()
>> when havily softintr/softnet had occured. Following quick patch
>> resolves the phenomenon.
>
>FYI I've fixed the "si_refs" race in powerpc/powerpc/softintr.c:1.6
>See the commit log [1] for more details. Sorry it took so long.
>
> -- Jachym
>
>[1] http://mail-index.netbsd.org/source-changes/2007/01/30/0005.html
Thank you to fix codes. I already had left the original project, but
I will report this fixes to current team members.
Thank you again.
--
TAKAOKA is gathering P*O*W*E*R. http://method.jp/tadashi/