Re: umtx/libthr SMP fixes.

From: Jeff Roberson <jroberson_at_chesapeake.net>
Date: Wed, 4 Jun 2003 02:18:31 -0400 (EDT)
On Tue, 3 Jun 2003, Terry Lambert wrote:

> Scott Long wrote:
> > Bryan Liesner wrote:
> > It's very hard to imagine Jeff's patches causing a problem at the point
> > that the PR mentions.  Have you confirmed the problem in a kernel that
> > was build in a totally clean environment?
>
> The changed code is not protecting a traversal of a proc
> struct member with a proc lock in two places.  What's hard
> to imagine?
>

This is no longer the case with the latest revision.  Apparently the
panics in cam continue even after the proc lock issues were fixed.

> Even if it's weren't necessary to protect that FOREACH loop
> (it's necessary; but even if it weren't...), locking the
> proc could easily serialize a number of operations through
> that or other code which could save it from interference.
>
> -- Terry
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Tue Jun 03 2003 - 21:18:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC