All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Feng Tang" <feng.tang@linux.alibaba.com>
Cc: bpf@vger.kernel.org
Subject: Re: [PATCH net v2] selftests: net: reuseport_bpf_numa: consider cpuless numa node
Date: Tue, 04 Aug 2026 01:42:30 +0000	[thread overview]
Message-ID: <20260804014231.45ECD1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260803014214.80748-1-feng.tang@linux.alibaba.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Spelling mistake in newly added comment: 'unlikeyly' instead of 'unlikely'.
--

--- Patch [1]: [PATCH net v2] selftests: net: reuseport_bpf_numa: consider cpuless numa node ---
commit 4e53579a82f841c838d35fa42c245feb267f6bcb
Author: Feng Tang <feng.tang@linux.alibaba.com>

selftests: net: reuseport_bpf_numa: consider cpuless numa node

This commit fixes a test failure on platforms with CXL memory where a NUMA
node might only have memory and no CPUs. It adds a sanity check to skip
cpuless NUMA nodes during the NUMA binding test to prevent
numa_run_on_node() from failing.

> diff --git a/tools/testing/selftests/net/reuseport_bpf_numa.c b/tools/testing/selftests/net/reuseport_bpf_numa.c
> index 8ec52fc5ef41b..b5fb576fa61af 100644
> --- a/tools/testing/selftests/net/reuseport_bpf_numa.c
> +++ b/tools/testing/selftests/net/reuseport_bpf_numa.c

[ ... ]

> +/*
> + * Return true if it is a cpuless node. Return false if it isn't or any
> + * error (very unlikeyly) happens during the libnuma calls.

[Severity: Low]
This isn't a bug, but there is a typo here: "unlikeyly" instead of
"unlikely".

> + */
> +static inline bool is_cpuless_node(int node_id)
> +{
> +	struct bitmask *cpumask;
> +	bool ret = false;

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803014214.80748-1-feng.tang@linux.alibaba.com?part=1

  reply	other threads:[~2026-08-04  1:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03  1:42 [PATCH net v2] selftests: net: reuseport_bpf_numa: consider cpuless numa node Feng Tang
2026-08-04  1:42 ` sashiko-bot [this message]
2026-08-06 15:51 ` Jakub Kicinski
2026-08-06 15:52 ` Jakub Kicinski

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=20260804014231.45ECD1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=feng.tang@linux.alibaba.com \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.