Re: [PATCH] gpiolib: fix the speed of descriptor label setting with SRCU

From: Bartosz Golaszewski
Date: Tue May 07 2024 - 13:25:09 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 07 May 2024 14:13:46 +0200, Bartosz Golaszewski wrote:
> Commit 1f2bcb8c8ccd ("gpio: protect the descriptor label with SRCU")
> caused a massive drop in performance of requesting GPIO lines due to the
> call to synchronize_srcu() on each label change. Rework the code to not
> wait until all read-only users are done with reading the label but
> instead atomically replace the label pointer and schedule its release
> after all read-only critical sections are done.
>
> [...]

Applied, thanks!

[1/1] gpiolib: fix the speed of descriptor label setting with SRCU
commit: a86d27693066a34a29be86f394bbad847b2d1749

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>