lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPM=9tyJNMgupHLyNZDLmXW+UC9+pc-C2Mt+qjuLUAkVfRrvuA@mail.gmail.com>
Date:   Thu, 28 Jul 2022 13:56:30 +1000
From:   Dave Airlie <airlied@...il.com>
To:     Danilo Krummrich <dakr@...hat.com>,
        Thomas Zimmermann <tzimmermann@...e.de>,
        Maxime Ripard <mripard@...nel.org>,
        Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>
Cc:     Dave Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
        "Koenig, Christian" <christian.koenig@....com>,
        Eric Anholt <emma@...olt.net>,
        Laurent Pinchart <laurent.pinchart@...asonboard.com>,
        LKML <linux-kernel@...r.kernel.org>,
        dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH 00/10] drm: use idr_init_base() over idr_init() if applicable

On Wed, 13 Jul 2022 at 00:24, Danilo Krummrich <dakr@...hat.com> wrote:
>
> Hi Laurent,
>
> On 7/1/22 20:52, dakr@...hat.com wrote:
> > From: Danilo Krummrich <dakr@...hat.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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ