McKenney: Transactional Memory Everywhere: 2012 Update for HTM
[Posted March 10, 2012 by corbet]
Paul McKenney
looks at
the state of hardware transactional memory with an eye toward how it
might be useful for current software. "
Even with forward-progress
guarantees, HTM is subject to aborts and rollbacks, which (aside from
wasting energy) are failure paths. Failure code paths are in my experience
difficult to work with. The possibility of failure is not handled
particularly well by human brain cells, which are programmed for
optimism. Failure code paths also pose difficulties for validations,
particularly in cases where the probability of failure is low or in cases
where multiple failures are required to reach a given code path."
(
Log in to post comments)