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

Re: [PATCH v2 3/3] xen/heap: pass order to free_heap_pages() in heap init



Hi Jan,

On 18/07/2022 12:02, Jan Beulich wrote:
On 18.07.2022 12:24, Julien Grall wrote:
3)
         unsigned int inc_order = min(MAX_ORDER, flsl(e - s) - 1);

         if ( s )
             inc_order = min(inc_order, ffsl(s) - 1U);

I like this idea!


No compilation issues to expect here, afaict.

Correct, GCC is happy with this approach. Assuming there are no other comments, are you happy if I make the change on commit?

Cheers,


--
Julien Grall



 


Rackspace

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