Re: [PATCH] tools/memory-model: document the "one-time init" pattern

From: Alan Stern
Date: Sat Jul 18 2020 - 10:08:16 EST


> This is one of the reasons that the LKMM documetnation is so damn
> difficult to read and understand: just understanding the vocabulary
> it uses requires a huge learning curve, and it's not defined
> anywhere. Understanding the syntax of examples requires a huge
> learning curve, because it's not defined anywhere.

Have you seen tools/memory-model/Documentation/explanation.txt? That
file was specifically written for non-experts to help them overcome the
learning curve. It tries to define the vocabulary as terms are
introduced and to avoid using obscure syntax.

If you think it needs improvement and can give some specific details
about where it falls short, I would like to hear them.

Alan Stern