2020-09-08 16:58:27

by Heiko Carstens

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

On Tue, Sep 08, 2020 at 03:30:31PM +0200, [email protected] 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 <[email protected]>
> Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
> ---
> arch/s390/kernel/idle.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Applied, thank you!