Re: [PATCH v4] percpu_counter: add a cmpxchg-based _add_batch variant

From: Dennis Zhou
Date: Tue May 28 2024 - 19:24:48 EST


Hi Andrew,

On Tue, May 28, 2024 at 02:19:29PM -0700, Andrew Morton wrote:
> On Tue, 28 May 2024 13:56:58 -0700 Dennis Zhou <dennis@xxxxxxxxxx> wrote:
>
> > > EXPORT_SYMBOL(percpu_counter_add_batch);
> > >
> > > /*
> > > --
> > > 2.39.2
> > >
> >
> > Andrew you picked up the __this_cpu_try_cmpxchg() patches. At this point
> > you might as well pick up this too. The cpumask clean ups are likely
> > going to give me trouble later this week when I rebase so I'll probably
> > have to base my percpuh hotplug branch on your mm-unstable now.
>
> Well, if it makes more sense to carry these in a different tree, let's
> do that.

Regarding percpu, I've generally care for that allocator and to varying
degrees corresponding libraries for the last 6 years. I usually take
them in [1] if I have other stuff to run.

The cpumask stuff should not roll up through me, and I think likely you.
It's just a little unfortunate in timing as I was planning on respinning
the percpu hotplug stuff this week (not 100% sure anything will conflict
yet til I do it).

Thanks,
Dennis

[1] https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git