[PATCH v2 0/2] io_uring/io-wq: respect cgroup cpusets
From: Felix Moessbauer
Date: Tue Sep 10 2024 - 11:46:17 EST
Hi,
this series continues the affinity cleanup work started in
io_uring/sqpoll. It has been successfully tested against the liburing
testsuite (make runtests), liburing @ caae94903d2e201.
The test wq-aff.t succeeds if at least cpu 0,1 are in
the set and fails otherwise. This is expected, as the test wants
to pin on these cpus. I'll send a patch for liburing to skip that test
in case this pre-condition is not met.
Changes since v1:
- rework commit messages (don't use ambient cpus, wq threads are no
pollers)
- no functional changes
Best regards,
Felix Moessbauer
Siemens AG
Felix Moessbauer (2):
io_uring/io-wq: do not allow pinning outside of cpuset
io_uring/io-wq: limit io poller cpuset to ambient one
io_uring/io-wq.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
--
2.39.2