[PATCH] clarify an edge case of IORING_SETUP_SQ_AFF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A container may offen be migrated to different cpu set which causes the
bounded cpu set of sqthread being changed as well. This may not be as
users expected, clarify this situation in man page.

Signed-off-by: Hao Xu <haoxu@xxxxxxxxxxxxxxxxx>
---
 man/io_uring_setup.2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2
index 3122313a53fa..cb8eba930b84 100644
--- a/man/io_uring_setup.2
+++ b/man/io_uring_setup.2
@@ -139,7 +139,10 @@ field of the
 .IR "struct io_uring_params" .
 This flag is only meaningful when
 .B IORING_SETUP_SQPOLL
-is specified.
+is specified. When cgroup setting
+.I cpuset.cpus
+changes (typically in container environment), the bounded cpu set may be
+changed as well.
 .TP
 .B IORING_SETUP_CQSIZE
 Create the completion queue with
-- 
1.8.3.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux