Re: Linux 6.3-rc2

From: Peter Zijlstra
Date: Tue Mar 14 2023 - 07:40:31 EST


On Tue, Mar 14, 2023 at 12:18:33PM +0100, Frederic Weisbecker wrote:
> How does the following look like as a culprit?
>
> 62b95a7b44d1 (ARM: 9282/1: vfp: Manipulate task VFP state with softirqs disabled)

Ooh yeah, that asm implementation of local_bh_{dis,en}able completely
miss out on the lockdep state tracking. Also I think it breaks RCU, note
how __local_bh_disable_ip() explicitly does rcu_read_lock() for the
first bh-disable.