LKML Archive on lore.kernel.org
 help / color / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com,
	kernel-team@fb.com, mingo@kernel.org
Cc: elver@google.com, andreyknvl@google.com, glider@google.com,
	dvyukov@google.com, cai@lca.pw, boqun.feng@gmail.com
Subject: Re: [PATCH kcsan 0/10] KCSAN updates for v5.9
Date: Wed, 24 Jun 2020 13:08:10 -0700
Message-ID: <20200624200810.GA20999@paulmck-ThinkPad-P72> (raw)
In-Reply-To: <20200624190236.GA6603@paulmck-ThinkPad-P72>

On Wed, Jun 24, 2020 at 12:02:36PM -0700, Paul E. McKenney wrote:
> On Mon, Jun 22, 2020 at 05:43:10PM -0700, Paul E. McKenney wrote:
> > Hello!
> > 
> > This series provides KCSAN updates:
> 
> And three more, so that GCC can join Clang in the KCSAN fun.
> 
> > 1.	Annotate a data race in vm_area_dup(), courtesy of Qian Cai.
> > 
> > 2.	x86/mm/pat: Mark an intentional data race, courtesy of Qian Cai.
> > 
> > 3.	Add ASSERT_EXCLUSIVE_ACCESS() to __list_splice_init_rcu().
> > 
> > 4.	Add test suite, courtesy of Marco Elver.
> > 
> > 5.	locking/osq_lock: Annotate a data race in osq_lock.
> > 
> > 6.	Prefer '__no_kcsan inline' in test, courtesy of Marco Elver.
> > 
> > 7.	Silence -Wmissing-prototypes warning with W=1, courtesy of Qian Cai.
> > 
> > 8.	Rename test.c to selftest.c, courtesy of Marco Elver.
> > 
> > 9.	Remove existing special atomic rules, courtesy of Marco Elver.
> > 
> > 10.	Add jiffies test to test suite, courtesy of Marco Elver.
> 
> 11.	Re-add GCC as a supported compiler.
> 
> 12.	Simplify compiler flags.
> 
> 13.	Disable branch tracing in core runtime.

All three of which, I should hasten to add, are courtesy of Marco Elver.

> Please note that using GCC for KCSAN requires building your own compiler
> from recent mainline.

							Thanx, Paul

> ------------------------------------------------------------------------
> The added three (#11-#13) only:
> ------------------------------------------------------------------------
> 
>  Documentation/dev-tools/kcsan.rst |    3 ++-
>  kernel/kcsan/Makefile             |    6 +++---
>  lib/Kconfig.kcsan                 |    3 ++-
>  scripts/Makefile.kcsan            |    2 +-
>  4 files changed, 8 insertions(+), 6 deletions(-)

      parent reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-23  0:43 Paul E. McKenney
2020-06-23  6:31 ` Marco Elver
2020-06-23 13:43   ` Paul E. McKenney
2020-06-23 15:06     ` Marco Elver
2020-06-23 16:31       ` Paul E. McKenney
2020-06-24 19:02 ` Paul E. McKenney
2020-06-24 19:03   ` [PATCH kcsan 1/3] kcsan: Re-add GCC as a supported compiler paulmck
2020-06-24 19:03   ` [PATCH kcsan 2/3] kcsan: Simplify compiler flags paulmck
2020-06-24 19:03   ` [PATCH kcsan 3/3] kcsan: Disable branch tracing in core runtime paulmck
2020-06-24 20:08   ` Paul E. McKenney [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20200624200810.GA20999@paulmck-ThinkPad-P72 \
    --to=paulmck@kernel.org \
    --cc=andreyknvl@google.com \
    --cc=boqun.feng@gmail.com \
    --cc=cai@lca.pw \
    --cc=dvyukov@google.com \
    --cc=elver@google.com \
    --cc=glider@google.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git
	git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git
	git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git