rcu_dereference() vs rcu_dereference_protected()?
<p>Can any one explain what is the difference between <code>rcu_dereference()</code> and <code>rcu_dereference_protected()</code>?</p>

<p><code>rcu_dereference()</code> contains barrier code and <code>rcu_dereference_protected()</code> do not contain.</p>

<p>When to use <code>rcu_dereference()</code> and when to use <code>rcu_dereference_protected()</code>?</p>