From: Jens Axboe <[email protected]>
To: Jiufei Xue <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: [PATCH] io_uring: add EPOLLEXCLUSIVE flag to aoid thundering herd type behavior
Date: Wed, 10 Jun 2020 19:40:36 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 6/10/20 7:36 PM, Jiufei Xue wrote:
>
>
> On 2020/6/11 上午8:01, Jens Axboe wrote:
>> On 6/10/20 12:15 AM, Jiufei Xue wrote:
>>> Applications can use this flag to avoid accept thundering herd.
>>
>> So with this, any IORING_OP_POLL_ADD will be exclusive. Seems to me
>> that the other poll path we have could use it too by default, and
>> at that point, we could clean this up (and improve) it further by
>> including that?
>>
> Sorry, I have sent the wrong patch. I think the flag should be determined by
> user, I will send the new version soon.
That's sort of what I assumed as well.
--
Jens Axboe
prev parent reply other threads:[~2020-06-11 1:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 6:15 [PATCH] io_uring: add EPOLLEXCLUSIVE flag to aoid thundering herd type behavior Jiufei Xue
2020-06-11 0:01 ` Jens Axboe
2020-06-11 1:36 ` Jiufei Xue
2020-06-11 1:40 ` Jens Axboe [this message]
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 \
[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