[LTP] [PATCH] memcg/functional: Convert to newlib

Petr Vorel pvorel@suse.cz
Mon Feb 15 10:27:25 CET 2021


Hi Joerg,

> I'd like to submit some more patches on top of this.

You probably noticed some failures (on 5.10.14 openSUSE kernel):

memcg_stat_rss, memcg_subgroup_charge, memcg_move_charge_at_immigrate, memcg_stat:
TBROK: timed out on memory.usage_in_bytes
=> maybe just timeout?

memcg_max_usage_in_bytes
memcg_max_usage_in_bytes_test 1 TFAIL: memory.max_usage_in_bytes is 4325376, 4194304 expected
memcg_max_usage_in_bytes_test 2 TFAIL: memory.memsw.max_usage_in_bytes is 4325376, 4194304 expected
memcg_max_usage_in_bytes_test 3 TFAIL: memory.max_usage_in_bytes is 4325376, 4194304 expected
memcg_max_usage_in_bytes_test 3 TFAIL: memory.max_usage_in_bytes is 126976, 0 expected

memcg_usage_in_bytes
memcg_usage_in_bytes_test 1 TFAIL: memory.usage_in_bytes is 4325376, 4194304 expected
memcg_usage_in_bytes_test 2 TFAIL: memory.memsw.usage_in_bytes is 4325376, 4194304 expected

Tests which needs further cleanup/rewrite (less important than fixing previous)
testcases/kernel/controllers/memcg/regression/memcg_regression_test.sh
testcases/kernel/controllers/memcg/regression/memcg_test_4.sh
testcases/kernel/controllers/memcg/control/memcg_control_test.sh

Kind regards,
Petr


More information about the ltp mailing list