Re: [BK PATCH] SCSI host num allocation improvement

From: Andrew Morton
Date: Thu Feb 26 2004 - 21:54:06 EST


Ben Collins <bcollins@xxxxxxxxxx> wrote:
>
> On Thu, Feb 26, 2004 at 05:37:43PM -0800, Andrew Morton wrote:
> > Andrew Morton <akpm@xxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/