RE: Extended IDR API

2017-09-11 Thread Chris Mi
kernel.org; Rehas Sachdeva > Subject: Extended IDR API > > > I really don't like your new API. I wish you'd discussed it before merging > it. > Here's my redesign. Does anybody have a suggestion for improvement? > > We have a lovely new test-suite for the ID

Re: Extended IDR API

2017-09-11 Thread David Miller
From: Matthew Wilcox Date: Mon, 11 Sep 2017 14:14:08 -0700 > I really don't like your new API. I wish you'd discussed it before > merging it. If I recall correctly, linux-kernel was CC:'d and nobody engaged. I could be wrong, and if I am then my bad, I should have enforced that. Thanks.

Extended IDR API

2017-09-11 Thread Matthew Wilcox
ilcox Date: Mon, 11 Sep 2017 16:16:29 -0400 Subject: [PATCH] idr: Rewrite extended IDR API - Rename the API to be 'ul' for unsigned long instead of 'ext'. This fits better with other usage in the Linux kernel. - idr_alloc() moves back to being a function instead of inline -