Re: [Xen-devel] [PATCH] x86/smpboot: Remove redundant order calculations

2019-07-11 Thread Jan Beulich
On 11.07.2019 17:49, Andrew Cooper wrote: > The GDT and IDT allocations are all order 0, and not going to change. > > Use an explicit 0, instead of calling get_order_from_pages(). This > allows for the removal of the 'order' local parameter in both > cpu_smpboot_{alloc,free}(). > > While making

[Xen-devel] [PATCH] x86/smpboot: Remove redundant order calculations

2019-07-11 Thread Andrew Cooper
The GDT and IDT allocations are all order 0, and not going to change. Use an explicit 0, instead of calling get_order_from_pages(). This allows for the removal of the 'order' local parameter in both cpu_smpboot_{alloc,free}(). While making this adjustment, rearrange cpu_smpboot_free() to fold th