Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit ad16248

Browse files
freddy77jgross1
authored andcommitted
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: c06b6d7 xen/x86: don't lose event interrupts Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> Reviewed-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20240619104015.30477-1-frediano.ziglio@cloud.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent e51d31c commit ad16248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/xen/time.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "xen-ops.h"
3131

3232
/* Minimum amount of time until next clock event fires */
33-
#define TIMER_SLOP 100000
33+
#define TIMER_SLOP 1
3434

3535
static u64 xen_sched_clock_offset __read_mostly;
3636

0 commit comments

Comments
 (0)