public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Josef <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: SQPOLL question
Date: Sun, 6 Sep 2020 10:25:49 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAAss7+qjPqGMMLQAtdRDDpp_4s1RFexXtn7-5Sxo7SAdxHX3Zg@mail.gmail.com>

On 9/6/20 10:24 AM, Josef wrote:
>> You're using the 'fd' as the file descriptor, for registered files
>> you want to use the index instead. Since it's the only fd you
>> registered, the index would be 0 and that's what you should use.
> 
> oh..yeah it works, thanks :)

Great!

>> It's worth mentioning that for 5.10 and on, SQPOLL will no longer
>> require registered files.
> 
> that's awesome, it would be really handy as I just implemented a kind
> of workaround in netty :)

On top of that, capabilities will also be reduced from root to
CAP_SYS_NICE instead, and sharing across rings for the SQPOLL thread
will be supported. So it'll be a lot more useful/flexible in general.

-- 
Jens Axboe


  reply	other threads:[~2020-09-06 16:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-06 15:44 SQPOLL question Josef
2020-09-06 15:49 ` Jens Axboe
2020-09-06 16:24   ` Josef
2020-09-06 16:25     ` Jens Axboe [this message]
2020-09-07 10:23       ` Josef
2020-09-07 12:49         ` Jens Axboe
2020-09-07 14:58           ` Josef
2020-09-07 15:51             ` Jens Axboe
2020-09-08  6:47               ` Josef
2020-09-08 14:36                 ` Jens Axboe
2020-09-08 14:57                   ` Jens Axboe
2020-09-08 17:42                     ` Josef
2020-09-08 17:46                       ` 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 \
    [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