Re: [PATCH 0/3] sched/locking/doc: Miscellaneous fixes

From: Andrea Parri
Date: Thu Jul 05 2018 - 18:28:25 EST


On Thu, Jun 28, 2018 at 12:41:17PM +0200, Andrea Parri wrote:
> Hi,
>
> This is a follow-up on the discussion started in [1].
>
> Applies on -rcu/dev.
>
> Cheers,
> Andrea
>
> [1] http://lkml.kernel.org/r/1529918258-7295-1-git-send-email-andrea.parri@xxxxxxxxxxxxxxxxxxxx
>
> Andrea Parri (3):
> sched: Use smp_mb() in wake_woken_function()
> locking: Clarify requirements for smp_mb__after_spinlock()
> doc: Update wake_up() & co. memory-barrier guarantees

What is the plan for this series?

We are currently discussing locking changes that might affect 2/3, but
I'd still consider this patch and the overall series as an improvement
over the current status (1/3 is a fix to the code) and I'd really like
future changes to be based on this series...

I expected this series to go via "-rcu -> tip -> ..."; 2/3 had Peter's
Ack, but 1/3 and 3/3 are missing any comments (or tags): please let me
know if any action on the series is required from me (the series still
applies on the latest "dev" branch of -rcu).

Andrea


>
> Documentation/memory-barriers.txt | 43 ++++++++++++++++++------------
> include/linux/sched.h | 4 +--
> include/linux/spinlock.h | 25 ++----------------
> kernel/sched/completion.c | 8 +++---
> kernel/sched/core.c | 30 +++++++++------------
> kernel/sched/wait.c | 55 ++++++++++++++++++---------------------
> 6 files changed, 72 insertions(+), 93 deletions(-)
>
> --
> 2.7.4
>