|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3] xen/sched: validate RTDS putinfo period and budget
Hi Juergen On 27/03/2026 14:51, Juergen Gross wrote: On 27.03.26 12:31, Oleksii Moisieiev wrote:The RTDS domain-wide XEN_DOMCTL_SCHEDOP_putinfo path only checks for zero values before applying period and budget to all vCPUs in the domain. This is weaker than the per-vCPU XEN_DOMCTL_SCHEDOP_putvcpuinfo path, which already rejects values below the minimum, above the maximum, and cases where budget exceeds period. Use the same validation rules for putinfo as for putvcpuinfo, so invalid domain-wide updates are rejected with -EINVAL instead of being applied inconsistently. Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@xxxxxxxx> --- Changes in v3: - changed rt_validate_params input to get struct instead of period and budget - improved code readability Changes in v2:- introduce rt_validate_params helper function to check period and budget Sure. Will fix and post v4. With this and the "const" added mentioned by Jan you can add my: Reviewed-by: Juergen Gross <jgross@xxxxxxxx> Juergen
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |