Re: [RFC] Rebasing the IDR

2018-02-09 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 10:54:51AM +, Chris Wilson wrote: > Quoting Matthew Wilcox (2017-11-30 17:36:30) > > About 40 of the approximately 180 users of the IDR in the kernel are > > "1-based" instead of "0-based". That is, they never want to have ID 0 > > allocated; they want to see IDs

Re: [RFC] Rebasing the IDR

2018-02-09 Thread Matthew Wilcox
On Mon, Dec 11, 2017 at 10:54:51AM +, Chris Wilson wrote: > Quoting Matthew Wilcox (2017-11-30 17:36:30) > > About 40 of the approximately 180 users of the IDR in the kernel are > > "1-based" instead of "0-based". That is, they never want to have ID 0 > > allocated; they want to see IDs

Re: [RFC] Rebasing the IDR

2017-12-11 Thread Chris Wilson
Quoting Matthew Wilcox (2017-11-30 17:36:30) > About 40 of the approximately 180 users of the IDR in the kernel are > "1-based" instead of "0-based". That is, they never want to have ID 0 > allocated; they want to see IDs allocated between 1 and N. Usually, that's > expressed like this: > >

Re: [RFC] Rebasing the IDR

2017-12-11 Thread Chris Wilson
Quoting Matthew Wilcox (2017-11-30 17:36:30) > About 40 of the approximately 180 users of the IDR in the kernel are > "1-based" instead of "0-based". That is, they never want to have ID 0 > allocated; they want to see IDs allocated between 1 and N. Usually, that's > expressed like this: > >

Re: [RFC] Rebasing the IDR

2017-12-03 Thread Daniel Vetter
On Thu, Nov 30, 2017 at 10:09 PM, Matthew Wilcox wrote: > On Thu, Nov 30, 2017 at 08:56:43PM +0100, Daniel Vetter wrote: >> Adding dri-devel, I think a pile of those are in drm. > > Yeah, quite a lot! This is a good thing; means you didn't invent your > own custom ID

Re: [RFC] Rebasing the IDR

2017-12-03 Thread Daniel Vetter
On Thu, Nov 30, 2017 at 10:09 PM, Matthew Wilcox wrote: > On Thu, Nov 30, 2017 at 08:56:43PM +0100, Daniel Vetter wrote: >> Adding dri-devel, I think a pile of those are in drm. > > Yeah, quite a lot! This is a good thing; means you didn't invent your > own custom ID allocator. > >> On Thu, Nov

Re: [RFC] Rebasing the IDR

2017-11-30 Thread Matthew Wilcox
On Thu, Nov 30, 2017 at 08:56:43PM +0100, Daniel Vetter wrote: > Adding dri-devel, I think a pile of those are in drm. Yeah, quite a lot! This is a good thing; means you didn't invent your own custom ID allocator. > On Thu, Nov 30, 2017 at 6:36 PM, Matthew Wilcox wrote: >

Re: [RFC] Rebasing the IDR

2017-11-30 Thread Matthew Wilcox
On Thu, Nov 30, 2017 at 08:56:43PM +0100, Daniel Vetter wrote: > Adding dri-devel, I think a pile of those are in drm. Yeah, quite a lot! This is a good thing; means you didn't invent your own custom ID allocator. > On Thu, Nov 30, 2017 at 6:36 PM, Matthew Wilcox wrote: > > About 40 of the

Re: [RFC] Rebasing the IDR

2017-11-30 Thread Daniel Vetter
Adding dri-devel, I think a pile of those are in drm. On Thu, Nov 30, 2017 at 6:36 PM, Matthew Wilcox wrote: > About 40 of the approximately 180 users of the IDR in the kernel are > "1-based" instead of "0-based". That is, they never want to have ID 0 > allocated; they want

Re: [RFC] Rebasing the IDR

2017-11-30 Thread Daniel Vetter
Adding dri-devel, I think a pile of those are in drm. On Thu, Nov 30, 2017 at 6:36 PM, Matthew Wilcox wrote: > About 40 of the approximately 180 users of the IDR in the kernel are > "1-based" instead of "0-based". That is, they never want to have ID 0 > allocated; they want to see IDs allocated