[PATCH v3 0/2] Convert IB/mad to use an IDR for agent IDs
From: Matthew Wilcox
Date: Wed Jun 13 2018 - 08:34:25 EST
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