[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdY2G6xJf7WbraXvH0p2Rp=FVJxnsnJBCzCpZZmPag5bNw@mail.gmail.com>
Date: Mon, 8 Apr 2019 13:04:27 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio: of: Optimize quirk checks
On Fri, Mar 29, 2019 at 9:42 AM Geert Uytterhoeven
<geert+renesas@...der.be> wrote:
> Simple string comparisons are cheaper than DT lookups, as the latter
> involve taking a spinlock and traversing properties.
> Hence optimize quirk checks by postponing DT lookups after string
> comparisons.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Thanks Geert! I merged v5.1-rc3 into my devel branch and
applied this on top.
Yours,
Linus Walleij
Powered by blists - more mailing lists