* [tip: locking/urgent] kcsan: Use URL link for pointing access-marking.txt
@ 2021-06-30 13:48 tip-bot2 for Akira Yokosawa
0 siblings, 0 replies; only message in thread
From: tip-bot2 for Akira Yokosawa @ 2021-06-30 13:48 UTC (permalink / raw)
To: linux-tip-commits
Cc: Marco Elver, Akira Yokosawa, Paul E. McKenney, x86, linux-kernel
The following commit has been merged into the locking/urgent branch of tip:
Commit-ID: 117232c0b9126e254d84f38ccaf9e576ccfcd990
Gitweb: https://git.kernel.org/tip/117232c0b9126e254d84f38ccaf9e576ccfcd990
Author: Akira Yokosawa <akiyks@gmail.com>
AuthorDate: Thu, 13 May 2021 10:49:41 -07:00
Committer: Paul E. McKenney <paulmck@kernel.org>
CommitterDate: Tue, 18 May 2021 10:58:15 -07:00
kcsan: Use URL link for pointing access-marking.txt
For consistency within kcsan.rst, use a URL link as the same as in
section "Data Races".
Acked-by: Marco Elver <elver@google.com>
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
Documentation/dev-tools/kcsan.rst | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/dev-tools/kcsan.rst b/Documentation/dev-tools/kcsan.rst
index d1efd9c..6a600cf 100644
--- a/Documentation/dev-tools/kcsan.rst
+++ b/Documentation/dev-tools/kcsan.rst
@@ -89,8 +89,7 @@ the below options are available:
* KCSAN understands the ``data_race(expr)`` annotation, which tells KCSAN that
any data races due to accesses in ``expr`` should be ignored and resulting
behaviour when encountering a data race is deemed safe. Please see
- ``tools/memory-model/Documentation/access-marking.txt`` in the kernel source
- tree for more information.
+ `"Marking Shared-Memory Accesses" in the LKMM`_ for more information.
* Disabling data race detection for entire functions can be accomplished by
using the function attribute ``__no_kcsan``::
@@ -112,6 +111,8 @@ the below options are available:
KCSAN_SANITIZE := n
+.. _"Marking Shared-Memory Accesses" in the LKMM: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/memory-model/Documentation/access-marking.txt
+
Furthermore, it is possible to tell KCSAN to show or hide entire classes of
data races, depending on preferences. These can be changed via the following
Kconfig options:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-30 13:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30 13:48 [tip: locking/urgent] kcsan: Use URL link for pointing access-marking.txt tip-bot2 for Akira Yokosawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).