[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] lib/ukalloc: implement new allocator helpers
On Mon, 2020-01-13 at 10:48 +0100, Hugo Lefeuvre wrote: > Add new allocator helpers uk_pfree_compat, uk_palloc_compat, > uk_realloc_compat and uk_alloc_init_malloc allowing for proper > initialization of allocators based on malloc, calloc, free and > posix_memalign. > > Signed-off-by: Hugo Lefeuvre <hugo.lefeuvre@xxxxxxxxx> Please, ignore this patch. We will need more changes before being able to merge this code. In particular, create_stack from sched.c should stop using uk_palloc since it is expecting a pointer aligned at STACK_SIZE (c.f. uk_thread_current from thread.h). This can be done by using uk_posix_memalign in create_stack, but before that uk_posix_memalign_ifpages should be fixed to support align > __PAGE_SIZE. I will submit a patch series soon. _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |