Re: [PATCH v3 1/3] rust: add a wrapper for the `num_possible_cpus` C function
From: Andreas Hindborg
Date: Sat Oct 03 2026 - 08:04:16 EST
Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:
> On Tue, Sep 29, 2026 at 07:56:48PM +0200, Andreas Hindborg wrote:
>> This function returns the maximum number of CPUs that can be online.
>>
>> The wrapper is needed by the Rust null block driver.
>
> What does it need it for?
Setting an upper bound on the number of submit and poll queues.
Best regards,
Andreas Hindborg