lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 00/10] drm: use idr_init_base() over idr_init() if applicable
On Wed, 13 Jul 2022 at 00:24, Danilo Krummrich <dakr@redhat.com> wrote:
>
> Hi Laurent,
>
> On 7/1/22 20:52, dakr@redhat.com wrote:
> > From: Danilo Krummrich <dakr@redhat.com>
> >
> > 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.

\
 
 \ /
  Last update: 2022-07-28 05:57    [W:0.143 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site