public inbox for [email protected]
 help / color / mirror / Atom feed
From: Hao Xu <[email protected]>
To: Jens Axboe <[email protected]>
Cc: [email protected], Pavel Begunkov <[email protected]>,
	Joseph Qi <[email protected]>
Subject: [PATCH] clarify an edge case of IORING_SETUP_SQ_AFF
Date: Tue,  1 Jun 2021 11:11:39 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

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 <[email protected]>
---
 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


             reply	other threads:[~2021-06-01  3:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01  3:11 Hao Xu [this message]
2021-06-01 13:50 ` [PATCH] clarify an edge case of IORING_SETUP_SQ_AFF Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622517099-197667-1-git-send-email-haoxu@linux.alibaba.com \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox