[PATCH 8/9] iommu: add support for ARM Ltd. System MMU architecture

Joerg Roedel joro at 8bytes.org
Sat Jun 22 01:30:44 EST 2013


On Fri, Jun 21, 2013 at 04:00:06PM +0100, Will Deacon wrote:
> Damn, I was hoping to avoid locking on the map path. In fact, this is a good
> argument to go with your suggestion below (otherwise I'd need to use
> reader/writer locks which seem to be frowned on).

You should look into using rcu-lists instead. You still need a lock, but
only when you actually manipulating the lists. For traversing them it is
sufficient to take the rcu_read_lock() which has very low overhead.


	Joerg




More information about the devicetree-discuss mailing list