Skip to content

assorted replacement of x[mz]alloc_bytes()

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 5 repliesIn review
  2. v111 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86/MCE: avoid effectively open-coding xmalloc_array()xen/arch/x86/cpu/mcheck/mctelem.c+1 -10 replies
2/8x86/HVM: avoid effectively open-coding xmalloc_array()xen/arch/x86/hvm/emulate.c+2 -20 replies
3/8x86/oprofile: avoid effectively open-coding xmalloc_array()xen/arch/x86/oprofile/nmi_int.c+9 -100 replies
4/8x86/IRQ: avoid over-alignment in alloc_pirq_struct()xen/arch/x86/irq.c+6 -30 replies
5/8EFI/runtime: avoid effectively open-coding x{m,z}alloc_array()xen/common/efi/runtime.c+3 -30 replies
6/8kexec: avoid effectively open-coding xzalloc_flex_struct()xen/common/kexec.c+12 -60 replies
7/8video/lfb: avoid effectively open-coding xzalloc_array()xen/drivers/video/lfb.c+3 -20 replies
8/8Arm/optee: don't open-code xzalloc_flex_struct()xen/arch/arm/tee/optee.c+1 -22 replies

Reviews trailers per patch

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

PatchVolodymyr Babchuk
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8A-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/8] assorted replacement of x[mz]alloc_bytes()

In the long run I think we want to do away with these type-unsafe interfaces, the more that they also request (typically) excess alignment. This series of entirely independent patches is eliminating the instances where it's relatively clear that they're not just "blob" allocations.

v2 only has commit messages extended.

1: x86/MCE: avoid effectively open-coding xmalloc_array() 2: x86/HVM: avoid effectively open-coding xmalloc_array() 3: x86/oprofile: avoid effectively open-coding xmalloc_array() 4: x86/IRQ: avoid over-alignment in alloc_pirq_struct() 5: EFI/runtime: avoid effectively open-coding xmalloc_array() 6: kexec: avoid effectively open-coding xzalloc_flex_struct() 7: video/lfb: avoid effectively open-coding xzalloc_array() 8: Arm/optee: don't open-code xzalloc_flex_struct()

Jan