Re: [PATCH 21/36] xen/common: add colored allocator initialization

2022-03-09 Thread Jan Beulich
On 04.03.2022 18:46, Marco Solieri wrote: > From: Luca Miccio > > Initialize colored heap and allocator data structures. It is assumed > that pages are given to the init function is in ascending order. I don't think this is a good assumption to make. > To > ensure that, pages are retrieved from

[PATCH 21/36] xen/common: add colored allocator initialization

2022-03-04 Thread Marco Solieri
From: Luca Miccio Initialize colored heap and allocator data structures. It is assumed that pages are given to the init function is in ascending order. To ensure that, pages are retrieved from bootmem_regions starting from the first one. Moreover, this allows quickly insertion of freed pages into