Re: [PATCH 1/2] drivers: char: Replace bit operation functions with IDA allocator.

From: Greg Kroah-Hartman
Date: Mon Apr 10 2017 - 09:45:17 EST


On Mon, Apr 10, 2017 at 12:28:59PM +0530, Varsha Rao wrote:
> Replace bit operation functions with IDA allocator functions. As IDA
> allocation is simpler, faster, more space efficient and it generates
> small integer IDs which can be used as minor device numbers.

The allocation is different than the bitfield searching is? How
exactly? What is the old result vs. the new result of this change?

How did you test this?

You have to really sell this change, right now it looks pretty
pointless...

thanks,

greg k-h