Re: [PATCH 5/5] cobalt/sched: weak: add early parameter checking handler

2019-01-24 Thread Jan Kiszka via Xenomai
On 29.11.18 14:54, Philippe Gerum via Xenomai wrote: This is actually a plain conversion of the former sched_declare() handler to the recently introduced sched_chkparam(), which only checks the weak scheduling parameters. By doing so, we ensure that those checks are done early and

[PATCH 5/5] cobalt/sched: weak: add early parameter checking handler

2018-11-29 Thread Philippe Gerum via Xenomai
This is actually a plain conversion of the former sched_declare() handler to the recently introduced sched_chkparam(), which only checks the weak scheduling parameters. By doing so, we ensure that those checks are done early and unconditionally in xnsched_set_policy(). Signed-off-by: Philippe