According to @tstamp 14:30 , (https://youtu.be/uiBMczcm69A?t=870&si=_aZukm9F-rl4QooR) we can reduce the number of RMW atomic instructions by reading once and then writing val+1 in writeAcquire and val+2 in writeRelease.
Investigate this and see if it's true, and impl in SequenceLock if true.
According to @tstamp 14:30 , (https://youtu.be/uiBMczcm69A?t=870&si=_aZukm9F-rl4QooR) we can reduce the number of RMW atomic instructions by reading once and then writing val+1 in writeAcquire and val+2 in writeRelease.
Investigate this and see if it's true, and impl in SequenceLock if true.