Re: sparc64 panics - ctx_free: context xxxx still active

Jeremie Courreges-Anglas <[email protected]>
Newsgroups gmane.os.openbsd.bugs
Message-ID <[email protected]>
On Mon, Apr 13, 2026 at 02:20:32PM +0200, Jeremie Courreges-Anglas wrote:
> On Sat, Apr 11, 2026 at 08:43:57PM +0200, Mark Kettenis wrote:
> [...]
> > Lightly tested by building some kernels and libc with make -j24.  I've
> > never been able to trigger the db_enter() on my t5120, so I don't
> > expect to ever hit this code myself.
> > 
> > ok?
> 
> A bit late to the party, yes, LGTM.
> 
> I'm restarting an experiment with your latest version and moving the
> mtx_enter() call before the for loop.  The previous run didn't trigger
> since Fri 10, 1pm, running perl subprocesses and building libc in a
> loop.

mtx_enter before the for loop magically works around it.  Feels like
we're missing memory barriers somewhere.

-- 
jca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.