Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mostly working SMP again



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jan 5, 2010, at 4:00 PM, Manuel Bouyer wrote:

On Tue, Jan 05, 2010 at 03:26:02PM -0500, Michael wrote:
Maybe something like
KASSERT(__SIMPLELOCK_LOCKED_P(kernel_lock)
or
KASSERT(ci->ci_biglock_count > 0)
will work to check this.

You were right - this KASSERT fails immediately. No idea why the esp
interrupt is treated as MP safe or for what other reason the biglock
wrapper isn't in place here.

Do you have a stack trace ?

Looks like a typo in sbus.c - it compares the SBus interrupt level to IPL_VM, not the actual ipl.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBS0OyBMpnzkX8Yg2nAQLXQQgAgzLXnZph2X8Z+PO0GzJsdyLuRs/wNFS3
TMGdwx6qoluTpFluka2+J/gye1cC6odS3ZCtdelGP5Wl/bcYuev2s0xmR6MWq0g9
571y6tobIxlxfc9odIN+iDE+DhfjV43AFKpioAmAlZkmLWYR7VSNwC/ADtIXb9Qd
ClTMoBeXgN+NRNcyQtQM9u5LINQG8kILxUw13AzVs94rXqaKsByN3kIEq+PpntSH
xSeAsoQ9f0DzC4L9tx7At1S8AfAD94KKOJGDQWvz864V4LO4TFPXVhJOJMNxYY1K
5vhNTmfCKqa6YYww7vKoz2l5/JFXYQUjbjtRHNXGUWXkiA6iVaLNfg==
=JmDZ
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index