dillon at apollo.backplane.com
Fri Feb 29 11:30:34 PST 2008
:Now that the release is over, is there any chance that the following
:patch gets commited?
Absolutely. I'll check it out right now.
:Any feedback is welcome!
:And the possible race for UP I describe in the mail:
:Do you think this can happen?
Hmm. Yes, if the compiler breaks the operation down into multiple
instructions the decrement could get lost. The compiler will virtually
never do that, but the only way for us to guarantee that it doesn't
(that is, to guarantee that the decrement is performed with a
single instruction) is to call the atomic_subtract_int_nonlocked()
I will make that change.
<dillon at backplane.com>
More information about the Submit