Skip to content

Improvements with noreturn

Andrew Cooper xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 1 replyIn review
  2. v45 patches 6 repliesSuperseded
  3. v35 patches 10 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches6 repliesSuperseded
v12 patches10 repliesSuperseded

Changes in v5 from the cover letter

* Reorder patches 1 and 2 and tweak so they compile in isolation.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86/crash: Fix up declaration of do_nmi_crash()xen/arch/x86/crash.c xen/include/asm-x86/processor.h+3 -20 replies
2/5xen/compiler: Replace opencoded __attribute__((noreturn))xen/arch/arm/early_printk.c xen/arch/x86/efi/boot.c xen/arch/x86/shutdown.c +5 more+12 -100 replies
3/5xen: Identify panic and reboot/halt functions as noreturnxen/arch/arm/shutdown.c xen/arch/x86/cpu/mcheck/mce.h xen/arch/x86/shutdown.c +5 more+12 -101 reply
4/5xen: Misc cleanup as a result of the previous patchesxen/arch/x86/efi/boot.c xen/arch/x86/mm/shadow/common.c xen/drivers/char/console.c +1 more+1 -40 replies
5/5xen/x86: Identify reset_stack_and_jump() as noreturnxen/arch/x86/domain.c xen/arch/x86/hvm/svm/svm.c xen/arch/x86/setup.c +3 more+13 -120 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchKeir FraserJan BeulichIan CampbellTim Deegan
1/5A-b R-b
2/5A-b R-b A-b A-b
3/5A-b R-b A-b A-b
4/5A-b R-b
5/5A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/5] Improvements with noreturn

Make better use of noreturn. It allows optimising compilers to produce more efficient code.

Each patch is compile tested on each architecture, and the result is functionally tested on x86 and compile tested on GCC 4.1.1 to verify that older compilers are happy.

Changes in v5:
* Reorder patches 1 and 2 and tweak so they compile in isolation.