[LTP] [PATCH v8] memcg/memcontrol05: add cgroup v2 task migration charge accounting test

Michal Koutný mkoutny@suse.com
Wed Nov 11 18:47:13 CET 2026


Hello.

On Sun, Nov 08, 2026 at 11:50:34AM +0530, Pavithra <pavrampu@linux.ibm.com> wrote:
> Verify that in cgroup v2, memory charges remain pinned to the cgroup
> that allocated them when a task migrates, and that new allocations after
> migration are charged to the destination cgroup.

The staticness of memory charges is "non-functional" feature of cgroup
v2. Could you explain more the real word motivation behind this case?

(Each such testcase is subject to noise and it's good to understand
what/why are the expectations.)

Thanks,
Michal


More information about the ltp mailing list