* [GIT PULL rcu-tasks-trace] 50x speedup for synchronize_rcu_tasks_trace()
@ 2020-09-22 16:25 Paul E. McKenney
2020-09-24 2:46 ` Alexei Starovoitov
0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2020-09-22 16:25 UTC (permalink / raw)
To: ast; +Cc: rcu, linux-kernel, mingo, tglx, daniel, jolsa, bpf, kernel-team
Hello, Alexei,
This pull request contains eight commits that speed up RCU Tasks Trace
grace periods by a factor of 50, fix a few race conditions exposed
by this speedup, and clean up a couple of minor issues. These have
been exposed to 0day and -next testing, and have passed well over 1,000
hours of rcutorture testing, some of which has contained ad-hoc changes
to further increase race probabilities. So they should be solid!
(Famous last words...)
I would normally have sent this series up through -tip, but as we
discussed, going up through the BFP and networking trees provides the
needed exposure to real-world testing of these changes. Please note
that the first patch is already in mainline, but given identical SHA-1
commit IDs, git should have no problem figuring this out. I will also
be retaining these commits in -rcu in order to continue exposing them
to rcutorture testing, but again the identical SHA-1 commit IDs will
make everything work out.
The fact that these commits will reside in multiple trees is of course
what motivates inclusion of the otherwise unrelated minor-issue cleanups.
Including these cleanups allows all the various trees to keep synchronized
SHA-1 commit IDs. And so, without further ado:
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:
Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rtt-speedup.2020.09.16a
for you to fetch changes up to f747c7e15d7bc71a967a94ceda686cf2460b69e8:
rcu-tasks: Enclose task-list scan in rcu_read_lock() (2020-09-16 16:32:38 -0700)
----------------------------------------------------------------
Paul E. McKenney (8):
rcu-tasks: Prevent complaints of unused show_rcu_tasks_classic_gp_kthread()
rcu-tasks: Mark variables static
rcu-tasks: Use more aggressive polling for RCU Tasks Trace
rcu-tasks: Selectively enable more RCU Tasks Trace IPIs
rcu-tasks: Shorten per-grace-period sleep for RCU Tasks Trace
rcu-tasks: Fix grace-period/unlock race in RCU Tasks Trace
rcu-tasks: Fix low-probability task_struct leak
rcu-tasks: Enclose task-list scan in rcu_read_lock()
include/linux/rcupdate_trace.h | 4 +++
kernel/rcu/tasks.h | 55 ++++++++++++++++++++++++++++++++----------
2 files changed, 46 insertions(+), 13 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL rcu-tasks-trace] 50x speedup for synchronize_rcu_tasks_trace()
2020-09-22 16:25 [GIT PULL rcu-tasks-trace] 50x speedup for synchronize_rcu_tasks_trace() Paul E. McKenney
@ 2020-09-24 2:46 ` Alexei Starovoitov
2020-09-24 4:29 ` Paul E. McKenney
0 siblings, 1 reply; 3+ messages in thread
From: Alexei Starovoitov @ 2020-09-24 2:46 UTC (permalink / raw)
To: Paul E. McKenney
Cc: Alexei Starovoitov, rcu, LKML, Ingo Molnar, Thomas Gleixner,
Daniel Borkmann, Jiri Olsa, bpf, Kernel Team
On Tue, Sep 22, 2020 at 9:25 AM Paul E. McKenney <paulmck@kernel.org> wrote:
>
> Hello, Alexei,
>
> This pull request contains eight commits that speed up RCU Tasks Trace
> grace periods by a factor of 50, fix a few race conditions exposed
> by this speedup, and clean up a couple of minor issues. These have
> been exposed to 0day and -next testing, and have passed well over 1,000
> hours of rcutorture testing, some of which has contained ad-hoc changes
> to further increase race probabilities. So they should be solid!
> (Famous last words...)
>
> I would normally have sent this series up through -tip, but as we
> discussed, going up through the BFP and networking trees provides the
> needed exposure to real-world testing of these changes. Please note
> that the first patch is already in mainline, but given identical SHA-1
> commit IDs, git should have no problem figuring this out. I will also
> be retaining these commits in -rcu in order to continue exposing them
> to rcutorture testing, but again the identical SHA-1 commit IDs will
> make everything work out.
Pulled into bpf-next. Thanks a lot.
Also confirming 50x speedup.
Really nice to see that selftests/bpf are now fast again.
Not only all bpf developers will be running these patches now,
but the bpf CI system will be exercising them as well.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL rcu-tasks-trace] 50x speedup for synchronize_rcu_tasks_trace()
2020-09-24 2:46 ` Alexei Starovoitov
@ 2020-09-24 4:29 ` Paul E. McKenney
0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2020-09-24 4:29 UTC (permalink / raw)
To: Alexei Starovoitov
Cc: Alexei Starovoitov, rcu, LKML, Ingo Molnar, Thomas Gleixner,
Daniel Borkmann, Jiri Olsa, bpf, Kernel Team
On Wed, Sep 23, 2020 at 07:46:15PM -0700, Alexei Starovoitov wrote:
> On Tue, Sep 22, 2020 at 9:25 AM Paul E. McKenney <paulmck@kernel.org> wrote:
> >
> > Hello, Alexei,
> >
> > This pull request contains eight commits that speed up RCU Tasks Trace
> > grace periods by a factor of 50, fix a few race conditions exposed
> > by this speedup, and clean up a couple of minor issues. These have
> > been exposed to 0day and -next testing, and have passed well over 1,000
> > hours of rcutorture testing, some of which has contained ad-hoc changes
> > to further increase race probabilities. So they should be solid!
> > (Famous last words...)
> >
> > I would normally have sent this series up through -tip, but as we
> > discussed, going up through the BFP and networking trees provides the
> > needed exposure to real-world testing of these changes. Please note
> > that the first patch is already in mainline, but given identical SHA-1
> > commit IDs, git should have no problem figuring this out. I will also
> > be retaining these commits in -rcu in order to continue exposing them
> > to rcutorture testing, but again the identical SHA-1 commit IDs will
> > make everything work out.
>
> Pulled into bpf-next. Thanks a lot.
>
> Also confirming 50x speedup.
> Really nice to see that selftests/bpf are now fast again.
>
> Not only all bpf developers will be running these patches now,
> but the bpf CI system will be exercising them as well.
Sounds very good, thank you! If problems arise, you know where
to find me. As do most of the people running these patches, I
would guess. ;-)
Thanx, Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-24 4:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22 16:25 [GIT PULL rcu-tasks-trace] 50x speedup for synchronize_rcu_tasks_trace() Paul E. McKenney
2020-09-24 2:46 ` Alexei Starovoitov
2020-09-24 4:29 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox