[LTP] [PATCH] syscalls/acct02.c: Read threshold from /proc/sys/kernel/acct

Xiao Yang ice_yangxiao@163.com
Tue Jul 16 17:37:15 CEST 2019


On 07/16/2019 10:17 PM, Cyril Hrubis wrote:
> Hi!
>>> Good catch, I missed the sysctl API since I haven't realized that the
>>> proc handlers are all stuffed in a different file in kernel/sysctl.c.
>>>
>>> What about we as well temporarily lower the value if needed while the
>>> test is running?
>> Hi Cyril,
>>
>> When free space is not enough, test can change the threshold by itself
>> or remind user to modify the threshold by sysctl API manually.
>>
>> Which one do you prefer?
> Ideally the test should modify the threshold.
Hi Cyril,

OK, I will improve the patch as you suggested. :-)

Best Regards,
Xiao Yang
>




More information about the ltp mailing list