TIME_SLOP vs. timer_slop
Keir,
is there a reason why schedule.c and timer.c don't both use the latter, command line controllable value?
Also, aren't the comment and code in vcpu_periodic_timer_work() out of sync with the actual implementation in timer.c in that a timer will never expire early (with timer_slop only being used to set an upper bound on the expiry range)?
Thanks, Jan
Quoted 7 lines · Jan Beulich
is there a reason why
schedule.candtimer.cdon't both use the latter, command line controllable value?Also, aren't the comment and code in
vcpu_periodic_timer_work()out of sync with the actual implementation intimer.cin that a timer will never expire early (withtimer_sloponly being used to set an upper bound on the expiry range)?
Yes, true. Thanks for that; it's now fixed as c/s 20921.
-- Keir