Threads in the new ISO C Standard from 2011
Threads in the new ISO C Standard from 2011
Threads in the new ISO C Standard from 2011
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Motivation for Dependency Order<strong>in</strong>g<br />
Improved performance!<br />
In programs (such as <strong>the</strong> L<strong>in</strong>ux kernel) with important data structures<br />
which are rarely modified and very frequently read <strong>the</strong>re exist faster<br />
solutions than us<strong>in</strong>g full release/acquire synchronization on modern<br />
architectures.<br />
In this sense modern architectures <strong>in</strong>clude Power, MIPS and ARM.<br />
For o<strong>the</strong>r architectures <strong>in</strong>clud<strong>in</strong>g x86, optimiz<strong>in</strong>g compilers can make<br />
better optimizations if dependency order<strong>in</strong>g is used ra<strong>the</strong>r than<br />
release/acquire, as we will see below.<br />
Jonas Skeppstedt (js@cs.lth.se) Lecture 6 2013 36 / 70