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

Cyril Hrubis chrubis@suse.cz
Tue Jul 16 16:17:39 CEST 2019


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.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list