Hardware extensions to make lazy subscription safe
Dave DiceTimothy L. HarrisAKAlex KoganYossi LevMark Moir
Dave Dice
Timothy L. Harris
AKAlex Kogan
Yossi Lev
Mark Moir
+5
This paper identifies pitfalls in lazy subscription, an optimization that defers reading the lock to increase concurrency, showing it is unsafe for Transactional Lock Elision (TLE) because unmodified critical sections may behave incorrectly before subscribing. Existing compiler and hardware proposals fail to avoid all pitfalls. The authors propose hardware extensions that make lazy subscription safe for both TLE and single-global-lock transactional systems without requiring special compiler support, and also show how nontransactional loads can enhance its effectiveness.

arXiv ·
· July 23, 2014