Re: [PATCH 00/34] Convert DRM to XArray

2019-02-25 Thread Matthew Wilcox
On Fri, Feb 22, 2019 at 10:54:21AM +0100, Daniel Vetter wrote: > > - idr_alloc() returned -ENOSPC, radix_tree_insert() returned -EEXIST. > >xa_insert() and xa_alloc() return -EBUSY. > > I think this will upset a few of our tests. Just written some more for > drm-lease at least, and those chec

Re: [PATCH 00/34] Convert DRM to XArray

2019-02-22 Thread Daniel Vetter
On Thu, Feb 21, 2019 at 10:41:20AM -0800, Matthew Wilcox wrote: > I intend to remove the IDR and the radix tree interfaces from Linux. > Converting each user from either the IDR or radix tree interface varies > from the trivial 1:1 replacement to a complete rewrite of the locking. > Despite the bes