Re: [PATCH v3 1/3] rust: add a wrapper for the `num_possible_cpus` C function
From: Andreas Hindborg
Date: Wed Sep 30 2026 - 04:00:10 EST
Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> writes:
> On Tue, Sep 29, 2026 at 7:58 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>>
>> This function returns the maximum number of CPUs that can be online.
>>
>> The wrapper is needed by the Rust null block driver.
>>
>> Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
>> Reviewed-by: Gary Guo <gary@xxxxxxxxxxx>
>> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
>
> I can pick this one -- it could have been an independent patch anyway, no?
Yes, this one is independent. At v1 I had 2 patches adding helpers, that
was the only thing relating them. I thought it was better to lump them,
but maybe not?
Best regards,
Andreas Hindborg