 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v6 4/5] lib/uksched: use posix_memalign to allocate stack
 On 23.01.20 16:30, Hugo Lefeuvre wrote: uk_thread_current indentifies the current stack using STACK_MASK_TOP. As a consequence the stack should be aligned at STACK_SIZE. However the stack is allocated using palloc which only guarantees page alignment. Allocate the stack using posix_memalign, explicitely requesting an alignment at STACK_SIZE. There is a typo in the message: "explicitly", I am can fix it while upstreaming. Thanks! Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> 
 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel 
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |