Re: [PATCH v3 2/3] rust: add a wrapper for the `nr_online_nodes` C function

From: Miguel Ojeda

Date: Mon Oct 12 2026 - 11:11:55 EST


On Tue, Sep 29, 2026 at 7:58 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>
> +//! NUMA topology utilities.
> +//!
> +//! C header: [`include/linux/nodemask.h`](srctree/include/linux/nodemask.h)

Cc'ing Yury and Rasmus since it refers to this file.

`page_alloc.c` also has the definition of the variable in the
`MAX_NUMNODES > 1` case, so I guess the MM page alloc folks should
also be Cc'd -- doing it too here.

In any case, I am happy to pick this one up if they are OK with it.

Thanks!

Cheers,
Miguel