lkml.org 
[lkml]   [2013]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH tip/core/rcu 4/4] documentation: Update circular buffer for load-acquire/store-release
Date
Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:

> - /* read index before reading contents at that index */

> - smp_mb(); /* finish reading descriptor before incrementing tail */

I'd rather you didn't remove these comments (assuming they're correct) as
they're pointing out the point of the example.

David


\
 
 \ /
  Last update: 2013-11-16 13:41    [W:0.090 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site