Re: [PATCH v5 77/78] irqdomain: Convert to XArray

2017-12-16 Thread Marc Zyngier
On Fri, 15 Dec 2017 22:04:49 +, Matthew Wilcox wrote: > > From: Matthew Wilcox > > In a non-critical path, irqdomain wants to know how many entries are > stored in the xarray, so add xa_count(). This is a pretty straightforward > conversion; mostly just removing now-redundant locking. The

[PATCH v5 77/78] irqdomain: Convert to XArray

2017-12-15 Thread Matthew Wilcox
From: Matthew Wilcox In a non-critical path, irqdomain wants to know how many entries are stored in the xarray, so add xa_count(). This is a pretty straightforward conversion; mostly just removing now-redundant locking. The only thing of note is just how much simpler irq_domain_fix_revmap() bec