Subject: Re: sparc64 -current kernel fails to boot
To: Robert Swindells <rjs@fdy2.demon.co.uk>
From: Matt Fleming <mjf@netbsd.org>
List: current-users
Date: 12/21/2007 12:54:45
On Fri, Dec 21, 2007 at 12:36:49PM +0000, Robert Swindells wrote:
> > bt
> lockdebug_abort(...)
> mutex_vector_enter(...)
> zstty_softint(...) at zstty_softint+0x10

The tty_lock mutex was already entered in zsopen() and zstty_softint()
tries to enter it again.

Is it just safe to remove the calls to mutex_spin_{enter/exit} in
zstty_softint(), since tty_lock is held throughout anyway and I can't
see any other code that calls zstty_softint?

--mjf