Re: [PATCH 3/4] workqueue: export attribute and sysfs setup helpers

From: ChenXiaoSong

Date: Tue Dec 01 2026 - 01:47:58 EST


Tejun already added his Acked-by tag to the previous RFC version:
https://lore.kernel.org/linux-cifs/89ba20818d083796e6150c2bf697b5cb@xxxxxxxxxx/

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

On 12/1/26 11:27, Huiwen He wrote:
From: Huiwen He<hehuiwen@xxxxxxxxxx>

The workqueue attribute helpers are not available to modules.

Export the allocation, application and release helpers for GPL modules.
Also export workqueue_sysfs_register() so a module can apply attributes
before exposing its queue in sysfs.

Signed-off-by: Huiwen He<hehuiwen@xxxxxxxxxx>
---
kernel/workqueue.c | 4 ++++
1 file changed, 4 insertions(+)

--
ChenXiaoSong <chenxiaosong@xxxxxxxxxxxxxxxx>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en