LKML Archive on
help / color / mirror / Atom feed
From: "tip-bot2 for Marco Elver" <>
Cc: "Paul E. McKenney" <>,
	Marco Elver <>,,
Subject: [tip: locking/debug] kcsan: Make strict mode imply interruptible watchers
Date: Wed, 18 Aug 2021 07:58:42 -0000	[thread overview]
Message-ID: <162927352226.25758.1261161663325452572.tip-bot2@tip-bot2> (raw)

The following commit has been merged into the locking/debug branch of tip:

Commit-ID:     e04938042d77addc7f41d983aebea125cddbed33
Author:        Marco Elver <>
AuthorDate:    Tue, 15 Jun 2021 20:39:38 +02:00
Committer:     Paul E. McKenney <>
CommitterDate: Tue, 20 Jul 2021 13:49:44 -07:00

kcsan: Make strict mode imply interruptible watchers


With interruptible watchers, we'll also report same-CPU data races; if
we requested strict mode, we might as well show these, too.

Suggested-by: Paul E. McKenney <>
Signed-off-by: Marco Elver <>
Signed-off-by: Paul E. McKenney <>
 lib/Kconfig.kcsan | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Kconfig.kcsan b/lib/Kconfig.kcsan
index 26f03c7..e0a93ff 100644
--- a/lib/Kconfig.kcsan
+++ b/lib/Kconfig.kcsan
@@ -150,7 +150,8 @@ config KCSAN_SKIP_WATCH_RANDOMIZE
-	bool "Interruptible watchers"
+	bool "Interruptible watchers" if !KCSAN_STRICT
+	default KCSAN_STRICT
 	  If enabled, a task that set up a watchpoint may be interrupted while
 	  delayed. This option will allow KCSAN to detect races between

                 reply	other threads:[~2021-08-18  7:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162927352226.25758.1261161663325452572.tip-bot2@tip-bot2 \ \ \ \ \ \ \
    --subject='Re: [tip: locking/debug] kcsan: Make strict mode imply interruptible watchers' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).