[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231227145143.2399-1-jiangshanlai@gmail.com>
Date: Wed, 27 Dec 2023 22:51:36 +0800
From: Lai Jiangshan <jiangshanlai@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Tejun Heo <tj@...nel.org>,
Naohiro.Aota@....com,
Lai Jiangshan <jiangshan.ljs@...group.com>
Subject: [PATCH 0/7] workqueue: Share the same PWQ for the CPUs of a pod and distribute max_active across pods
From: Lai Jiangshan <jiangshan.ljs@...group.com>
A different approach to fix the misbehavior can easily be exposed as reported in
http://lkml.kernel.org/r/dbu6wiwu3sdhmhikb2w6lns7b27gbobfavhjj57kwi2quafgwl@htjcc5oikcr3.
Lai Jiangshan (6):
workqueue: Reuse the default PWQ as much as possible
workqueue: Share the same PWQ for the CPUs of a pod
workqueue: Add pwq_calculate_max_active()
workqueue: Wrap common code into wq_adjust_pwqs_max_active()
workqueue: Addjust pwq's max_active when CPU online/offine
workqueue: Rename wq->saved_max_active to wq->max_active
Tejun Heo (1):
workqueue: Implement system-wide max_active enforcement for unbound
workqueues
include/linux/workqueue.h | 34 +++++-
kernel/workqueue.c | 217 ++++++++++++++++++++++----------------
2 files changed, 157 insertions(+), 94 deletions(-)
--
2.19.1.6.gb485710b
Powered by blists - more mailing lists