[LTP] memcg_memsw_limit_in_bytes_test mlock failed: Resource temporarily unavailable

Dong ZHu bluezhudong@gmail.com
Tue May 31 02:59:22 CEST 2016


>> I think mlock failed it is a expect behavior, so why mask the test as
>> Failed ?
>
> So the test fails in mlock() and the mlock() supposedly returns with
> ENOMEM right?

Yes.

> This is indeed valid outcome and the test should report
> pass. I guess that we have to return something different from 1 from the
> test process if some of the calls has failed with ENOMEM and change the
> test library to report that as success as well.
>

I agree with that, I will develop a patch for fixing this issue.

-- 
Best Regards,
Dong Zhu

My Site: http://bluezd.info


More information about the ltp mailing list