[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <173088071827.3234293.7159770328606603865.b4-ty@kernel.org>
Date: Wed, 06 Nov 2024 08:11:58 +0000
From: Lee Jones <lee@...nel.org>
To: pavel@....cz, lee@...nel.org,
Dmitry Rokosov <ddrokosov@...utedevices.com>
Cc: linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
kernel@...utedevices.com, rockosov@...il.com,
Alexey Romanov <avromanov@...utedevices.com>
Subject: Re: (subset) [PATCH v2] leds: introduce ordered workqueue for leds
events instead of system_wq
On Wed, 04 Sep 2024 01:39:30 +0300, Dmitry Rokosov wrote:
> This allows to setup ordered workqueue for leds events. This may be
> useful, because default 'system_wq' does not guarantee execution order
> of each work_struct, thus for several brightness update requests (for
> multiple leds), real brightness switch could be in random order.
>
> Yes, for sysfs-based leds we have flush_work() call inside
> brightness_store() operation, but it's blocking call, so userspace
> caller can be blocked at a long time, which means leds animation stream
> can be broken.
>
> [...]
Applied, thanks!
[1/1] leds: introduce ordered workqueue for leds events instead of system_wq
commit: 32360bf6a5d4016669c3545e7b0ec939937f5331
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists