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

pavrampu pavrampu@linux.ibm.com
Fri Nov 13 06:48:57 CET 2026


On 2026-11-11 23:17, Michal Koutný wrote:
> 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

  Hi Michal,

Thanks for the inputs, basically trying to migrate 
testcases/kernel/controllers/memctl/ test to cgroupv2 Depending on its 
applicability to v2, we can determine whether to proceed with this 
patch.

Thanks,
Pavithra


More information about the ltp mailing list