RE: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t
From: Reshetova, Elena
Date: Mon Nov 13 2017 - 04:10:06 EST
<snip>
> Note that there's work done on better documents and updates to this one.
> One document that might be good to read (I have not in fact had time to
> read it myself yet :-():
>
> https://github.com/aparri/memory-
> model/blob/master/Documentation/explanation.txt
>
I have just finished reading over this and must say that this is excellent.
If I would have started reading on this topic from this doc and then move
to other in-tree docs, including memory-barriers.txt, I would
have had much less issues/questions and it would be much less of a bumpy
read.
Is there any plan to include it into official kernel doc tree? I really think it
would be very helpful for others also even basically to explain the notations, properties
and language people talk about these issues and give examples.
I will try to improve a bit the new doc I have previously sent a patch for in the
spirit of this reading.
Best Regards,
Elena.