[LTP] [PATCH v3] memcg_stress_test.sh: ported to newlib

Cristian Marussi cristian.marussi@arm.com
Tue Feb 5 18:46:25 CET 2019


Hi Petr

On 04/02/2019 23:34, Petr Vorel wrote:
> Hi Cristian,
> 
>> Tested from you branch with ToT as:
> 
>> 10df48aa7 (HEAD -> pevik_ltp/christian/memcg_stress_test.sh.v3.fixes)
>> memcg_stress_test.sh: fix memory usage
>> ebd6efaa6 memcg_stress_test.sh: Further cleanup
>> 02c520928 memcg_stress_test.sh: ported to newlib
>> fc544f842 controllers/mem_process.c: Fix comparison warning
>> ...
> 
>> on 4k/64k pages defocnfig....looks fine to me.
> 
>> Thanks a lot for the cleanup.
> Thanks a lot for testing!
> Pushed (with your Tested-by on my commit).
> 
> I did few cleanup changes in my commit (TINFO messages, fix missing local pid, redirect
> stderr for wait to make it quiet, move TPASS message into run_stress()).
> 
> I wonder how to suppress kill message for the first cgroup pid:
> /opt/ltp/testcases/bin/memcg_stress_test.sh: line 65: 14750 User defined signal 1   memcg_process_stress $mem_size $interval
> 
> This pid is the only one killed by -USR1, but line 65 is not in fist kill loop.
> Therefore it cannot be killed by -KILL (second kill loop).
> 

? ... I saw no error messages in my testing :D

Regards

Cristian



More information about the ltp mailing list