Move memory barrier in UnlockBufHdr to before releasing the lock.
This bug appears to have been introduced late in the development of 48354581 ("Allow Pin/UnpinBuffer to operate in a lockfree manner."). Found while debugging a bug which turned out to be independent of the commit mentioned above. Backpatch: -
Showing
Please register or sign in to comment