Finally addressed in r52117. Thanks!
"ReactOS Development List" ros-dev@reactos.org wrote on Fri, June 3rd, 2011, 1:24 PM:
Ah, I didn't see the caller.
There's still the issue of the missing volatile. It's required to make sure there is strict ordering between the spinlock acquisition and the increment/decrement.
-- Best regards, Alex Ionescu