From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: Giovanni Cabiddu <giovanni.cabiddu@intel.com>,
herbert@gondor.apana.org.au, kristen.c.accardi@intel.com
Cc: linux-crypto@vger.kernel.org,
Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Subject: Re: [PATCH] crypto: iaa - fix per-node CPU counter reset in rebalance_wq_table()
Date: Tue, 24 Mar 2026 12:44:31 -0700 [thread overview]
Message-ID: <878qbh6mhs.fsf@intel.com> (raw)
In-Reply-To: <20260324182912.123665-1-giovanni.cabiddu@intel.com>
Giovanni Cabiddu <giovanni.cabiddu@intel.com> writes:
> The cpu counter used to compute the IAA device index is reset to zero
> at the start of each NUMA node iteration. This causes CPUs on every
> node to map starting from IAA index 0 instead of continuing from the
> previous node's last index. On multi-node systems, this results in all
> nodes mapping their CPUs to the same initial set of IAA devices,
> leaving higher-indexed devices unused.
>
> Move the cpu counter initialization before the for_each_node_with_cpus()
> loop so that the IAA index computation accumulates correctly across all
> nodes.
>
> Fixes: 714ca27e9bf4 ("crypto: iaa - Optimize rebalance_wq_table()")
> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
> ---
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
--
Vinicius
next prev parent reply other threads:[~2026-03-24 19:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 18:29 [PATCH] crypto: iaa - fix per-node CPU counter reset in rebalance_wq_table() Giovanni Cabiddu
2026-03-24 19:44 ` Vinicius Costa Gomes [this message]
2026-04-03 1:05 ` Herbert Xu
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=878qbh6mhs.fsf@intel.com \
--to=vinicius.gomes@intel.com \
--cc=giovanni.cabiddu@intel.com \
--cc=herbert@gondor.apana.org.au \
--cc=kristen.c.accardi@intel.com \
--cc=linux-crypto@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.