Re: [Xen-devel] [PATCH v2 1/5] xen: sched/credit: convert scheduling parameter to s_time_t when set

2018-02-27 Thread George Dunlap
On 02/23/2018 04:41 PM, Dario Faggioli wrote: > Basically, instead of converting integers to s_time_t > at usage time (hot paths), do the convertion when the > values are set (cold paths). > > This applies to the timeslice and the ratelimit > parameters of Credit1. > > Note that, when changing th

[Xen-devel] [PATCH v2 1/5] xen: sched/credit: convert scheduling parameter to s_time_t when set

2018-02-23 Thread Dario Faggioli
Basically, instead of converting integers to s_time_t at usage time (hot paths), do the convertion when the values are set (cold paths). This applies to the timeslice and the ratelimit parameters of Credit1. Note that, when changing the type of the fields of struct csched_private (from unsigned t