diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2019-06-20 11:55:46 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-21 16:20:49 -0700 |
commit | 15aa25cbf0ccc4bd63ed6f2a8065decb7f5e6f89 (patch) | |
tree | e3a2ee56ed0089cb5795217eddf0dc3d503eb76a /Documentation/driver-model/design-patterns.txt | |
parent | f9de417121001879d92a86960647adb06b5b81bf (diff) |
tools/memory-model: Change definition of rcu-fence
The rcu-fence relation in the Linux Kernel Memory Model is not well
named. It doesn't act like any other fence relation, in that it does
not relate events before a fence to events after that fence. All it
does is relate certain RCU events to one another (those that are
ordered by the RCU Guarantee); this induces an actual
strong-fence-like relation linking events preceding the first RCU
event to those following the second.
This patch renames rcu-fence, now called rcu-order. It adds a new
definition of rcu-fence, something which should have been present all
along because it is used in the rb relation. And it modifies the
fence and strong-fence relations by making them incorporate the new
rcu-fence.
As a result of this change, there is no longer any need to define
full-fence in the section for detecting data races. It can simply be
replaced by the updated strong-fence relation.
This change should have no effect on the operation of the memory model.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Documentation/driver-model/design-patterns.txt')
0 files changed, 0 insertions, 0 deletions