[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/3] bugfixes in the page allocation interface



This patch series addresses two bugs in the page allocation interface:
 - underflow when allocating memory with uk_posix_memalign_ifpages and an
   alignment smaller than metadata size
 - memory wastage when allocating at page alignment

"lib/ukalloc: uk_posix_memalign_ifpages: use uintptr_t*" is a small cleanup
which makes the two previously mentioned bugfixes more readable.

Hugo Lefeuvre (3):
  lib/ukalloc: uk_posix_memalign_ifpages: use uintptr_t*
  lib/ukalloc: fix underflow in uk_posix_memalign_ifpages
  lib/ukalloc: fix memory wastage in uk_posix_memalign_ifpages

 lib/ukalloc/alloc.c | 43 +++++++++++++++++++++++++++----------------
 1 file changed, 27 insertions(+), 16 deletions(-)

-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.