[lttng-dev] [RFC PATCH] Introduce RCU-enabled DQs (v2)

Paolo Bonzini pbonzini at redhat.com
Mon Aug 26 18:23:16 EDT 2013


Il 26/08/2013 23:48, Mike Day ha scritto:
> 
> 
> Mathieu - Thanks for the review! And thanks for the code, I'm working
> with it right now. I like the idea of using a flag to provide a form of
> atomicity for the doubly-linked list elements. I'm also planning on
> running some timing tests to see of the additional memory barriers and
> atomic accesses make *any* difference whatsoever. 

We probably have already too many queue/list variations (a relic of the
BSD queue.h headers).  Linux does not need RCU-friendly reverse
iteration at all, do we really need it?  In other words, I think your v2
was really close to mergeable state...

Paolo



More information about the lttng-dev mailing list