Skip to content

xen/x86: Optimize timer_irq_works()

Julien Grall xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesIn review
  2. v12 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/x86: io_apic: Introduce a command line option to skip timer checkdocs/misc/xen-command-line.pandoc xen/arch/x86/io_apic.c+22 -06 replies
2/2xen/x86: ioapic: Bail out from timer_irq_works() as soon as possiblexen/arch/x86/io_apic.c+24 -151 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] xen/x86: Optimize timer_irq_works()

From: Julien Grall <[email protected]>

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 when using para-virtualized timer. 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 | 11 +++++++
 xen/arch/x86/io_apic.c            | 48 ++++++++++++++++++++++---------
 2 files changed, 45 insertions(+), 14 deletions(-)
Signature · 1 line
2.40.1