Re: [PATCH 0/7 v2] mm/memcontrol, page_counter: move stock from mem_cgroup to page_counter
From: Joshua Hahn
Date: Fri May 22 2026 - 22:58:00 EST
On Fri, 22 May 2026 15:06:18 -0700 Joshua Hahn <joshua.hahnjy@xxxxxxxxx> wrote:
> Memcg currently keeps a "stock" of 64 pages per-cpu to cache pre-charged
> allocations, allowing small allocations to avoid walking the expensive
> mem_cgroup hierarchy traversal and atomic operations on each charge.
> This design introduces a fastpath, but there is room for improvement:
This iteration was developed and tested on top of mm-stable.
I'm seeing now that Sashiko cannot apply this patch, and I think it expects
it to have been built on top of mm-new.
Reviewers -- would it make sense to rebase this on top of mm-new and
re-send this as a v3, or should I wait for feedback on this cycle
before sending out a new version?
In any case, this could have been avoided if I just developed on top of
mm-new. I'll be mindful to do that in the future.
Thank you everyone,
Joshua