commit | d4a45c68dc81f9117ceaff9f058d5fae674181b9 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Mon Apr 05 12:57:27 2021 +0100 |
committer | Marc Zyngier <maz@kernel.org> | Thu Jun 10 13:09:18 2021 +0100 |
tree | 24b46fb86c11aa95b0b12d456a4729a5f549723f | |
parent | 48b15a7921d60680babe59f64e127816585a585c [diff] |
irqdomain: Protect the linear revmap with RCU It is pretty odd that the radix tree uses RCU while the linear portion doesn't, leading to potential surprises for the users, depending on how the irqdomain has been created. Fix this by moving the update of the linear revmap under the mutex, and the lookup under the RCU read-side lock. The mutex name is updated to reflect that it doesn't only cover the radix-tree anymore. Signed-off-by: Marc Zyngier <maz@kernel.org>