diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2018-05-15 02:33:52 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-15 09:11:18 +0300 |
commit | 30b795df11a1a9dd7fc50c1ff4677343b67cb379 (patch) | |
tree | 1af04c90d7f31ad1db68969070f71084f5d50677 /tools/time | |
parent | fd0359dbac3df00d1c6c22769e7d647b16b920cc (diff) | |
download | linux-30b795df11a1a9dd7fc50c1ff4677343b67cb379.tar.xz |
tools/memory-model: Improve mixed-access checking in lock.cat
The code in lock.cat which checks for normal read/write accesses to
spinlock variables doesn't take into account the newly added RL and RU
events. Add them into the test, and move the resulting code up near
the start of the file, since a violation would indicate a pretty
severe conceptual error in a litmus test.
Tested-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Akira Yokosawa <akiyks@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Jade Alglave <j.alglave@ucl.ac.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luc Maranget <luc.maranget@inria.fr>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: linux-arch@vger.kernel.org
Cc: parri.andrea@gmail.com
Link: http://lkml.kernel.org/r/1526340837-12222-14-git-send-email-paulmck@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/time')
0 files changed, 0 insertions, 0 deletions