Re: [BK PATCH] SCSI host num allocation improvement

Andrew Morton
2004-02-27T02:51:23Z

Ben Collins <bcollins@debian.org> wrote:
>
> On Thu, Feb 26, 2004 at 05:37:43PM -0800, Andrew Morton wrote:
> > Andrew Morton <akpm@osdl.org> wrote:
> > >
> > > The lib/idr.c code is a bit clumsy but it does do the job relatively
> > > efficiently.
> >
> > hmm, not too bad actually. It compiles, but I didn't test it.
>
> Oh, this isn't any good. It does the same thing as the old way. Steadily
> incrementing numbers.

In that case the idr_remove() was in the wrong place. It was a wild guess.