Currently, lightweigh_lock/unlock and fast_lock/unlock_lightweight share lots of code, and the code in fast_lock/unlock_lightweight is not friendly to read, in particular the register names.
Would be hlepful to refactor it a bit.
Would be hlepful to refactor it a bit.