Re: [PATCH 1/2] rust: Add cpumask helpers

From: Yury Norov
Date: Wed Feb 26 2025 - 11:31:58 EST


On Tue, Feb 25, 2025 at 03:20:54PM +0530, Viresh Kumar wrote:
> On 25-02-25, 06:43, Daniel Almeida wrote:
> > I don’t understand what is going on here. You apparently did not provide the
> > Rust code itself.
> >
> > Usually, when I see a “in order to prepare for …” I expect the actual patch to
> > follow in the same series.
> >
> > Right now - and correct me if I'm wrong - it seems like you’ve essentially added
> > dead code.
>
> Rust abstractions:
>
> https://lore.kernel.org/all/cover.1740475625.git.viresh.kumar@xxxxxxxxxx/

Yes, it's a dead code.

Cpumasks is a library, and people sometimes submit library code separately
from their main projects, so it becomes unused for a while. GENMASK_U128()
is one recent example.

I'm not happy about it, but I understand why people do so - it's important
for them to have stable API, and their big project may take longer to get
upstreamed.

So, if nobody's strongly opposite, I will move it myself. Alternatively,
we can ask Viresh to take over the patches and move them together with
his series.

Thanks,
Yury