public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>, [email protected]
Cc: Jens Axboe <[email protected]>
Subject: Re: [PATCH 5.15] io-wq: max_worker fixes
Date: Tue, 19 Oct 2021 13:41:37 -0600	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <11f90e6b49410b7d1a88f5d04fb8d95bb86b8cf3.1634671835.git.asml.silence@gmail.com>

On Tue, 19 Oct 2021 20:31:26 +0100, Pavel Begunkov wrote:
> First, fix nr_workers checks against max_workers, with max_worker
> registration, it may pretty easily happen that nr_workers > max_workers.
> 
> Also, synchronise writing to acct->max_worker with wqe->lock. It's not
> an actual problem, but as we don't care about io_wqe_create_worker(),
> it's better than WRITE_ONCE()/READ_ONCE().
> 
> [...]

Applied, thanks!

[1/1] io-wq: max_worker fixes
      commit: 9f7f7ea493a1d5c202760cd6145d6dde744f71a2

Best regards,
-- 
Jens Axboe



  reply	other threads:[~2021-10-19 19:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 19:31 [PATCH 5.15] io-wq: max_worker fixes Pavel Begunkov
2021-10-19 19:41 ` Jens Axboe [this message]
2021-10-19 22:54 ` Pavel Begunkov
2021-10-19 23:09   ` 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=163467249505.692982.13541436736788529932.b4-ty@kernel.dk \
    [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