Thanks for the review / feedback / testing. Here's v3. Changes: - Split out the change to the IDR code into its own patch. - Dropped the "Agent registration is process context only" patch as Jason already merged it. - Added comment about why we're limiting the agent ID to 2^24. - Used a named constant instead of a bare '1 << 24'. - Updated the changelog to incorporate more of Hans' original message. - Added Tested-by, Acked-by and Reported-by to the second patch. Matthew Wilcox (2): IDR: Expose the XArray lock IB/mad: Use IDR for agent IDs drivers/infiniband/core/mad.c | 83 ++++++++++++++++++------------ drivers/infiniband/core/mad_priv.h | 7 +-- include/linux/idr.h | 11 ++++ 3 files changed, 66 insertions(+), 35 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html