:>
:> The whole point is to release resources as early as possible. Why would
:> you ever want to intentionally introduce a race that will 'sometimes' be
:> lost and thus cause a late resource release when you can just as easily
:> completely guarentee that the resource will be released early, and thus
:> never have to worry about it. That makes no sense at all. From the
:> point of view of algorithm design, it's much better to know what *will*
:> happen rather then what *might* happen.
:
:Then do you want to fix the race for the vmspace release as well? If so, that
:makes sense. Only doing one and not the other makes no sense though. It
:seemed you only wanted to close the shmexit() race but not the one for
:releasing the user pages. *shrug*
:
:--
:
:John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
The patch I suggested removes the race, period. So all the code in
the initial conditional gets run... the shmexit as well as releasing the
user pages. Since the two are side by side it would be kinda difficult
to run one but not the other so I'm not sure where the confusion could
have been introduced. We might also want to add the shmexit to the
vmspace_free() code for completeness, but that would require more
research to determine whether it's safe to do there or not.
-Matt
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message