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(-) -- 2.26.2