Re: [PATCH 00/10] drm: use idr_init_base() over idr_init() if applicable
From: Dave Airlie
Date: Wed Jul 27 2022 - 23:56:47 EST
On Wed, 13 Jul 2022 at 00:24, Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
>
> Hi Laurent,
>
> On 7/1/22 20:52, dakr@xxxxxxxxxx wrote:
> > From: Danilo Krummrich <dakr@xxxxxxxxxx>
> >
> > This patch series initializes IDRs with idr_init_base(&idr, 1) rather than
> > idr_init(&idr) in case for the particular IDR no IDs < 1 are ever requested -
> > this avoids unnecessary tree walks.
> >
> Guess this would go through drm-misc too?
Could someone from the misc team pick this up, Danilo doesn't have
commit rights yet.
Dave.