[LTP] [PATCH] memcg/memcg_subgroup_charge: Fix out of memory

Petr Vorel pvorel@suse.cz
Mon Jul 9 19:07:54 CEST 2018


Hi Yang,

[snip]
> > BTW some of these tests fail on recent kernel even after these 2 fixes.
> > They work well on 3.10, but on 4.x fail at least.

> > Some of the issues has been reported:
> > * memcg_stat_test.sh
> > memcg_stat_test 6 TFAIL: hierarchical_memory_limit is 4096, 8192 expected
> > memcg_stat_test 2 TFAIL: mapped_file is 0, 4096 expected
> > https://github.com/linux-test-project/ltp/issues/326

> > * memcg_usage_in_bytes_test.sh
> > memcg_usage_in_bytes_test 1 TFAIL: memory.usage_in_bytes is 4325376, 4194304 expected
> > https://github.com/linux-test-project/ltp/issues/326

> > * memcg_use_hierarchy_test.sh
> > memcg_use_hierarchy_test 2 TFAIL: echo 1 > memory.use_hierarchy passed unexpectedly
> > https://github.com/linux-test-project/ltp/issues/93

> The last one sounds unrelated to those two fixes.
Yes, it's just related to memcg_* tests.

> Yang


Kind regards,
Petr


More information about the ltp mailing list