Re: [PATCH v2 2/2] rust: add a wrapper for the `nr_online_nodes` C function
From: Alice Ryhl
Date: Mon Jun 08 2026 - 03:29:17 EST
On Fri, Jun 05, 2026 at 02:54:57PM +0200, Andreas Hindborg wrote:
> This function returns the number of online NUMA nodes.
>
> The wrapper is needed by the Rust null block driver.
>
> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
I guess the NumaNode struct should be moved to this new file.
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>