Re: [RFC PATCH 12/23 -v4] Use RCU algorithm for monotonic cycles.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Steven Rostedt <rostedt@...>
Cc: LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Christoph Hellwig <hch@...>, Mathieu Desnoyers <mathieu.desnoyers@...>, Gregory Haskins <ghaskins@...>, Arnaldo Carvalho de Melo <acme@...>, Thomas Gleixner <tglx@...>, Tim Bird <tim.bird@...>, Sam Ravnborg <sam@...>, Frank Ch. Eigler <fche@...>, Jan Kiszka <jan.kiszka@...>, John Stultz <johnstul@...>, John Stultz <johstul@...>, Steven Rostedt <srostedt@...>
Date: Monday, January 21, 2008 - 8:20 pm

On Tuesday 22 January 2008 02:22, Steven Rostedt wrote:


All barriers need comments in the code. eg. with read barriers, the
comment should contain a list of the loads being ordered, and a
reference to the places where stores come from.

I know it isn't too hard to follow _now_, but it makes the code more
maintainable.



Ditto for the wmb. Also, I think the wmb() can probably just be
smp_wmb().
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC PATCH 12/23 -v4] Use RCU algorithm for monotonic cy..., Nick Piggin, (Mon Jan 21, 8:20 pm)