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

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



Hi Hugo,

thanks a lot for your work. I accepted the first two patches since they are fixing a critical bug in ukalloc. The third one needs a minor change. You can send a v2 separately.

Thanks,

Simon

On 06.02.20 18:22, Hugo Lefeuvre wrote:
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(-)


_______________________________________________
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®.