Commit ad162488 authored by Frediano Ziglio's avatar Frediano Ziglio Committed by Juergen Gross

x86/xen/time: Reduce Xen timer tick

Current timer tick is causing some deadline to fail.
The current high value constant was probably due to an old
bug in the Xen timer implementation causing errors if the
deadline was in the future.

This was fixed in Xen commit:
19c6cbd90965 xen/vcpu: ignore VCPU_SSHOTTMR_future

Usage of VCPU_SSHOTTMR_future in Linux kernel was removed by:
c06b6d70 xen/x86: don't lose event interrupts
Signed-off-by: default avatarFrediano Ziglio <frediano.ziglio@cloud.com>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20240619104015.30477-1-frediano.ziglio@cloud.comSigned-off-by: default avatarJuergen Gross <jgross@suse.com>
parent e51d31c4
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "xen-ops.h" #include "xen-ops.h"
/* Minimum amount of time until next clock event fires */ /* Minimum amount of time until next clock event fires */
#define TIMER_SLOP 100000 #define TIMER_SLOP 1
static u64 xen_sched_clock_offset __read_mostly; static u64 xen_sched_clock_offset __read_mostly;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment