mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: jiangshanlai@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH workqueues] Further upgrade queue_work_on() comment
Date: Tue, 9 May 2023 05:37:56 -1000	[thread overview]
Message-ID: <ZFpo1OA7hnRaVrgx@slm.duckdns.org> (raw)
In-Reply-To: <ae548f82-fd4e-490e-889a-3307b9a2c531@paulmck-laptop>

On Fri, Apr 28, 2023 at 04:47:07PM -0700, Paul E. McKenney wrote:
> The current queue_work_on() docbook comment says that the caller must
> ensure that the specified CPU can't go away, and further says that the
> penalty for failing to nail down the specified CPU is that the workqueue
> handler might find itself executing on some other CPU.  This is true
> as far as it goes, but fails to note what happens if the specified CPU
> never was online.  Therefore, further expand this comment to say that
> specifying a CPU that was never online will result in a splat.
> 
> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> Cc: Lai Jiangshan <jiangshanlai@gmail.com>
> Cc: Tejun Heo <tj@kernel.org>

Applied to wq/for-6.5.

Thanks.

-- 
tejun

      reply	other threads:[~2023-05-09 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 23:47 Paul E. McKenney
2023-05-09 15:37 ` Tejun Heo [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 \
    --in-reply-to=ZFpo1OA7hnRaVrgx@slm.duckdns.org \
    --to=tj@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@kernel.org \
    /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

all inboxes | Powered by JetHome®