Re: [PATCH rdma-next 15/16] RDMA/restrack: Implement software ID interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 15, 2019 at 02:15:41PM -0700, Jason Gunthorpe wrote:
> Matt, down the road can we get an xa_alloc_cyclic helper that handles
> this and the required locking? I have another need in the works as
> well..

http://git.infradead.org/users/willy/linux-dax.git/shortlog/refs/heads/xarray-conv

all current users of idr_alloc_cyclic are converted to xa_alloc_cyclic()
in that tree.

I'm still trying to figure out how to efficiently detect wrapping (some
customers want to know).

And I've had a better idea for XA_LIMIT that's not reflected in that
tree yet because one of my other projects took priority today.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux