]> www.infradead.org Git - users/jedix/linux-maple.git/commit
workqueue: Adjust WQ_MAX_ACTIVE from 512 to 2048
authorChen Ridong <chenridong@huawei.com>
Tue, 8 Oct 2024 11:24:58 +0000 (11:24 +0000)
committerTejun Heo <tj@kernel.org>
Tue, 8 Oct 2024 18:46:54 +0000 (08:46 -1000)
commit581434654e01ec79dd02c21448ac84e2ce2d1a64
tree636a5f6c8d79164c8f4c9767ff21c34b6bbfc14a
parente3dddcfd3dd8b483c9ccaa06733688bb63bb7c9d
workqueue: Adjust WQ_MAX_ACTIVE from 512 to 2048

WQ_MAX_ACTIVE is currently set to 512, which was established approximately
15 yeas ago. However, with the significant increase in machine sizes and
capabilities, the previous limit of 256 concurrent tasks is no longer
sufficient. Therefore, we propose to increase WQ_MAX_ACTIVE to 2048.
and WQ_DFL_ACTIVE is 1024 now.

Signed-off-by: Chen Ridong <chenridong@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/core-api/workqueue.rst
include/linux/workqueue.h