Re: [PATCH] s390/idle: Fix suspicious RCU usage

From: Heiko Carstens
Date: Tue Sep 08 2020 - 12:57:05 EST


On Tue, Sep 08, 2020 at 03:30:31PM +0200, peterz@xxxxxxxxxxxxx wrote:
>
> After commit eb1f00237aca ("lockdep,trace: Expose tracepoints") the
> lock tracepoints are visible to lockdep and RCU-lockdep is finding a
> bunch more RCU violations that were previously hidden.
>
> Switch the idle->seqcount over to using raw_write_*() to avoid the
> lockdep annotation and thus the lock tracepoints.
>
> Reported-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
> ---
> arch/s390/kernel/idle.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thank you!