[LTP] [PATCH] syscalls/sched_rr_get_interval: Validate the timeslice

Viresh Kumar viresh.kumar@linaro.org
Fri Jul 3 10:18:52 CEST 2020


On 03-07-20, 16:00, Yang Xu wrote:
> We only need to check /proc/sys/kernel/sched_rr_timeslice_ms whether existed in setup phase and
> then check proc value in run like prctl08.c[1].
> 
> [1]https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/syscalls/prctl/prctl08.c

This is certainly better, thanks.

> > What's the regression test you are suggesting here ?
> 
> The following kernel patch.
> 
>  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=975e155ed8732cb81f55c021c441ae662dd040b5

Yeah I got that you were talking about this, but I am not sure of what
regression test you are asking for and if we should be adding a test
towards it at all as this is a kernel bug and we should keep showing
the error for such kernels, isn't it ?

-- 
viresh


More information about the ltp mailing list