public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Maninder Singh <maninder1.s@samsung.com>
Cc: jiangshanlai@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] workqueue: use NR_STD_WORKER_POOLS instead of hardcoded value
Date: Tue, 07 Apr 2026 08:18:48 -1000	[thread overview]
Message-ID: <33f9d3141b1cb3eb7d1f0f0327ddcf9f@kernel.org> (raw)
In-Reply-To: <20260407034215.3004359-1-maninder1.s@samsung.com>

Hello,

On Tue, Apr  7, 2026 at 09:12:15AM +0530, Maninder Singh wrote:
> use NR_STD_WORKER_POOLS for irq_work_fns[] array definition.
> NR_STD_WORKER_POOLS is also 2, but better to use MACRO.
> Initialization loop for_each_bh_worker_pool() also uses same MACRO.

Applied to wq/for-7.1 with a small formatting tweak so the longer
declaration doesn't leave the initializer misaligned:

	void (*irq_work_fns[NR_STD_WORKER_POOLS])(struct irq_work *) =
		{ bh_pool_kick_normal, bh_pool_kick_highpri };

Thanks.

--
tejun

      reply	other threads:[~2026-04-07 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20260407034221epcas5p333b582f91ee9c72f55cba792b750aa1f@epcas5p3.samsung.com>
2026-04-07  3:42 ` [PATCH 1/1] workqueue: use NR_STD_WORKER_POOLS instead of hardcoded value Maninder Singh
2026-04-07 18:18   ` 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=33f9d3141b1cb3eb7d1f0f0327ddcf9f@kernel.org \
    --to=tj@kernel.org \
    --cc=jiangshanlai@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maninder1.s@samsung.com \
    /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