Skip to content

Minor fixes, improvements, and cleanup

Claudio Imbrenda kvm 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8x86/cstart.S: initialize stack before using itx86/cstart.S+1 -10 replies
2/8x86: add missing PAGE_ALIGN macro from page.hlib/x86/asm/page.h+2 -00 replies
3/8lib: use PAGE_ALIGNlib/vmalloc.c+4 -40 replies
4/8lib/alloc.c: add overflow check for calloclib/alloc.c+35 -12 replies
5/8lib: Fix a typo and add documentation commentslib/alloc_phys.h lib/vmalloc.h+9 -10 replies
6/8lib/vmalloc: fix potential race and non-standard pointer arithmeticlib/vmalloc.c+8 -20 replies
7/8lib/alloc_page: make get_order return unsigned intlib/alloc_page.c lib/alloc_page.h+2 -20 replies
8/8lib/vmalloc: add locking and a check for initializationlib/vmalloc.c+11 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [kvm-unit-tests PATCH v1 0/8] Minor fixes, improvements, and cleanup

This patch series provides a bunch of small improvements, fixes and cleanups.
Some of these fixes are needed for an upcoming series that will significantly refactor and improve the memory allocators.

Claudio Imbrenda (8):
x86/cstart.S: initialize stack before using it
x86: add missing PAGE_ALIGN macro from page.h
lib: use PAGE_ALIGN
lib/alloc.c: add overflow check for calloc
lib: Fix a typo and add documentation comments lib/vmalloc: fix potential race and non-standard pointer arithmetic lib/alloc_page: make get_order return unsigned int lib/vmalloc: add locking and a check for initialization

 lib/x86/asm/page.h |  2 ++
 lib/alloc_page.h   |  2 +-
 lib/alloc_phys.h   |  2 +-
 lib/vmalloc.h      |  8 ++++++++
 lib/alloc.c        | 36 +++++++++++++++++++++++++++++++++++-
 lib/alloc_page.c   |  2 +-
 lib/vmalloc.c      | 34 +++++++++++++++++++++++-----------
 x86/cstart.S       |  2 +-
 8 files changed, 72 insertions(+), 16 deletions(-)
Signature · 1 line
2.26.2