linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: rcu@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com,
	mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com,
	akpm@linux-foundation.org, mathieu.desnoyers@efficios.com,
	josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org,
	rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com,
	fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org
Subject: [PATCH tip/core/rcu 0/19] Miscellaneous fixes for v5.8
Date: Wed, 15 Apr 2020 10:10:17 -0700	[thread overview]
Message-ID: <20200415171017.GA7821@paulmck-ThinkPad-P72> (raw)

Hello!

This series provides miscellaneous fixes.

1.	Add KCSAN stubs to tree.c.

2.	Add KCSAN stubs to srcutree.c.

3.	Mark rcu_state.ncpus to detect concurrent writes.

4.	Add *_ONCE() and data_race() to rcu_node ->exp_tasks and also
	add some needed locking.

5.	Add READ_ONCE and data_race() to rcu_node ->boost_tasks.

6.	Add data_race() to ->srcu_lock_count and ->srcu_unlock_count arrays.

7.	Add WRITE_ONCE() to rcu_node ->boost_tasks.

8.	Use data_race() for RCU CPU stall-warning prints.

9.	Make drm_dp_mst_dsc_aux_for_port() safe for old compilers.
	Hey, I have the hair color for it!!!  ;-)

10.	Expedite first two FQS scans under callback-overload conditions.

11.	Fix the (t=0 jiffies) false positive, courtesy of Zhaolong Zhang.

12.	Revert "rculist: Describe variadic macro argument in a
	Sphinx-compatible way" due to Sphinx now being able to handle
	the original description, courtesy of Jonathan Neuschäfer.

13.	Get rid of some doc warnings in update.c, courtesy of
	Mauro Carvalho Chehab.

14.	Mark rcu_state.gp_seq to detect more concurrent writes.

15.	Replace assigned pointer ret value by corresponding boolean value,
	courtesy of Jules Irenge.

16.	Replace 1 by true in use_softirq initialization, courtesy of
	Jules Irenge.

17.	Convert ULONG_CMP_GE() to time_after() for jiffy comparison.

18.	Convert rcu_initiate_boost() ULONG_CMP_GE() to time_after().

19.	Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_before().

							Thanx, Paul

------------------------------------------------------------------------

 drivers/gpu/drm/drm_dp_mst_topology.c |    2 -
 include/linux/rculist.h               |    4 +--
 kernel/rcu/srcutree.c                 |   21 ++++++++++++++---
 kernel/rcu/tree.c                     |   41 ++++++++++++++++++++++++++++------
 kernel/rcu/tree.h                     |    1 
 kernel/rcu/tree_exp.h                 |   19 +++++++++------
 kernel/rcu/tree_plugin.h              |   21 +++++++++--------
 kernel/rcu/tree_stall.h               |   38 +++++++++++++++----------------
 kernel/rcu/update.c                   |   14 +++++------
 9 files changed, 103 insertions(+), 58 deletions(-)

             reply	other threads:[~2020-04-15 17:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-15 17:10 Paul E. McKenney [this message]
2020-04-15 17:10 ` [PATCH tip/core/rcu 01/19] rcu: Add KCSAN stubs paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 02/19] srcu: " paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 03/19] rcu: Mark rcu_state.ncpus to detect concurrent writes paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 04/19] rcu: Add *_ONCE() and data_race() to rcu_node ->exp_tasks plus locking paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 05/19] rcu: Add READ_ONCE and data_race() to rcu_node ->boost_tasks paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 06/19] srcu: Add data_race() to ->srcu_lock_count and ->srcu_unlock_count arrays paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 07/19] rcu: Add WRITE_ONCE() to rcu_node ->boost_tasks paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 08/19] rcu: Use data_race() for RCU CPU stall-warning prints paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 09/19] drm: Make drm_dp_mst_dsc_aux_for_port() safe for old compilers paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 10/19] rcu: Expedite first two FQS scans under callback-overload conditions paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 11/19] rcu: Fix the (t=0 jiffies) false positive paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 12/19] Revert "rculist: Describe variadic macro argument in a Sphinx-compatible way" paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 13/19] rcu: Get rid of some doc warnings in update.c paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 14/19] rcu: Mark rcu_state.gp_seq to detect more concurrent writes paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 15/19] rcu: Replace assigned pointer ret value by corresponding boolean value paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 16/19] rcu: Replace 1 by true paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 17/19] rcu: Convert ULONG_CMP_GE() to time_after() for jiffy comparison paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 18/19] rcu: Convert rcu_initiate_boost() ULONG_CMP_GE() to time_after() paulmck
2020-04-15 17:10 ` [PATCH tip/core/rcu 19/19] rcu: Convert rcu_nohz_full_cpu() ULONG_CMP_LT() to time_before() paulmck
2020-04-15 17:21 ` [PATCH tip/core/rcu 0/19] Miscellaneous fixes for v5.8 Andrew Morton
2020-04-15 17:32   ` Paul E. McKenney

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=20200415171017.GA7821@paulmck-ThinkPad-P72 \
    --to=paulmck@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=dhowells@redhat.com \
    --cc=dipankar@in.ibm.com \
    --cc=edumazet@google.com \
    --cc=fweisbec@gmail.com \
    --cc=jiangshanlai@gmail.com \
    --cc=joel@joelfernandes.org \
    --cc=josh@joshtriplett.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mingo@kernel.org \
    --cc=oleg@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rcu@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).