lkml.org 
[lkml]   [2020]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] LKMM: Add litmus test for RCU GP guarantee where reader stores
On Fri, 20 Mar 2020, Joel Fernandes (Google) wrote:

> This adds an example for the important RCU grace period guarantee, which
> shows an RCU reader can never span a grace period.
>
> Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
> ---
> .../litmus-tests/RCU+sync+read.litmus | 37 +++++++++++++++++++
> 1 file changed, 37 insertions(+)
> create mode 100644 tools/memory-model/litmus-tests/RCU+sync+read.litmus
>
> diff --git a/tools/memory-model/litmus-tests/RCU+sync+read.litmus b/tools/memory-model/litmus-tests/RCU+sync+read.litmus
> new file mode 100644
> index 0000000000000..73557772e2a32
> --- /dev/null
> +++ b/tools/memory-model/litmus-tests/RCU+sync+read.litmus

Do these new tests really belong here? I thought we were adding a new
directory under Documentation/ for litmus tests that illustrate parts
of the LKMM or memory-barriers.txt.

By contrast, the tests under tools/memory-model are merely to show
people what litmus tests look like and how they should be written.

Alan

\
 
 \ /
  Last update: 2020-03-20 16:04    [W:0.095 / U:2.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site