Re: umtx/libthr SMP fixes.

From: Terry Lambert <tlambert2_at_mindspring.com>
Date: Tue, 03 Jun 2003 22:56:00 -0700
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?

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
Received on Tue Jun 03 2003 - 20:57:13 UTC

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