]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
workqueue: Process extra works in rescuer on memory pressure
authorLai Jiangshan <jiangshan.ljs@antgroup.com>
Mon, 8 Dec 2025 13:25:19 +0000 (21:25 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 8 Dec 2025 19:18:02 +0000 (09:18 -1000)
commit51cd2d2decf365a248ddc304b7aa6f0cadc748c3
tree6c81b3485285c390b1b2880479fb46424faabc7a
parente5a30c303b07a4d6083e0f7f051b53add6d93c5d
workqueue: Process extra works in rescuer on memory pressure

Make the rescuer process more work on the last pwq when there are no
more to rescue for the whole workqueue to help the regular workers in
case it is a temporary memory pressure relief and to reduce relapse.

Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c