]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
test-ww_mutex: Move work to its own UNBOUND workqueue
authorJohn Stultz <jstultz@google.com>
Fri, 5 Dec 2025 01:35:10 +0000 (01:35 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 18 Dec 2025 09:45:23 +0000 (10:45 +0100)
commitd327e7166efa24c69719890ea332b55a9dea21a7
tree67955aee74403e0a95f268bc9829dc4d8c354367
parent34d80c93a5bbf38938e8c215ec6c938807edeaf0
test-ww_mutex: Move work to its own UNBOUND workqueue

The test-ww_mutex test already allocates its own workqueue
so be sure to use it for the mtx.work and abba.work rather
then the default system workqueue.

This resolves numerous messages of the sort:
"workqueue: test_abba_work hogged CPU... consider switching to WQ_UNBOUND"
"workqueue: test_mutex_work hogged CPU... consider switching to WQ_UNBOUND"

Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251205013515.759030-3-jstultz@google.com
kernel/locking/test-ww_mutex.c