Skip to content
Commit d4a45c68 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

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: default avatarMarc Zyngier <maz@kernel.org>
parent 48b15a79
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment