Subject: Re: powerpc softintr (was Re: ibm4xx interrupts)
To: Tadashi G. Takaoka <t2@method.jp>
From: Jachym Holecek <freza@dspfpga.com>
List: port-powerpc
Date: 01/30/2007 23:10:35
# 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