All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xen/x86: Optimize timer_irq_works()
@ 2023-08-18 13:44 Julien Grall
  2023-08-18 13:44 ` [PATCH 1/2] xen/x86: io_apic: Introduce a command line option to skip timer check Julien Grall
  2023-08-18 13:44 ` [PATCH 2/2] xen/x86: ioapic: Bail out from timer_irq_works() as soon as possible Julien Grall
  0 siblings, 2 replies; 13+ messages in thread
From: Julien Grall @ 2023-08-18 13:44 UTC (permalink / raw)
  To: xen-devel
  Cc: julien, Julien Grall, Andrew Cooper, George Dunlap, Jan Beulich,
	Stefano Stabellini, Wei Liu, Roger Pau Monné

From: Julien Grall <jgrall@amazon.com>

Hi all,

At the moment timer_irq_works() will always wait 100ms even with
enough ticks elapsed. This is a bit wasteful when most of the HW
should not be buggy.

The admin may also know that their HW is not buggy so they could
decide to skip the full 100ms. Also, looking at Linux changes, it
was pointed out that the timer_irq_works() may always return false
on when using para-virtualized delay. It is not a problem for Xen,
but still it makes sense to provide an option to disable the timer
check.

Patch #1 of the series will add the command line option while patch
#2 will optimize timer_irq_works() for the good case.

Cheers,

Julien Grall (2):
  xen/x86: io_apic: Introduce a command line option to skip timer check
  xen/x86: ioapic: Bail out from timer_irq_works() as soon as possible

 docs/misc/xen-command-line.pandoc |  7 ++++++
 xen/arch/x86/io_apic.c            | 41 ++++++++++++++++++++++---------
 2 files changed, 37 insertions(+), 11 deletions(-)

-- 
2.40.1



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-09-18 10:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18 13:44 [PATCH 0/2] xen/x86: Optimize timer_irq_works() Julien Grall
2023-08-18 13:44 ` [PATCH 1/2] xen/x86: io_apic: Introduce a command line option to skip timer check Julien Grall
2023-09-07 14:09   ` Jan Beulich
2023-09-15 13:18     ` Julien Grall
2023-09-15 13:49       ` George Dunlap
2023-09-18 10:29       ` Jan Beulich
2023-09-15 13:54   ` Roger Pau Monné
2023-09-15 14:27     ` Julien Grall
2023-09-18  7:54       ` Roger Pau Monné
2023-08-18 13:44 ` [PATCH 2/2] xen/x86: ioapic: Bail out from timer_irq_works() as soon as possible Julien Grall
2023-09-07 14:28   ` Jan Beulich
2023-09-15 14:00     ` Julien Grall
2023-09-18 10:42       ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.