Re: [Xen-devel] [PATCH v2] xen: Improve x86's alloc_vcpu_guest_context()

2015-09-21 Thread Ian Campbell
On Mon, 2015-09-21 at 08:12 -0600, Jan Beulich wrote: > > > > On 17.09.15 at 18:52, wrote: > > This essentially reverts c/s 2037f2adb "x86: introduce > > alloc_vcpu_guest_context()", including the newer arm bits, but achieves > > the same end goal by using the newer vmalloc() infrastructure. > >

Re: [Xen-devel] [PATCH v2] xen: Improve x86's alloc_vcpu_guest_context()

2015-09-21 Thread Jan Beulich
>>> On 17.09.15 at 18:52, wrote: > This essentially reverts c/s 2037f2adb "x86: introduce > alloc_vcpu_guest_context()", including the newer arm bits, but achieves > the same end goal by using the newer vmalloc() infrastructure. > > For both x86 and ARM, {alloc,free}_vcpu_guest_context() become a

Re: [Xen-devel] [PATCH v2] xen: Improve x86's alloc_vcpu_guest_context()

2015-09-17 Thread Julien Grall
Hi Andrew, On 17/09/15 17:52, Andrew Cooper wrote: > This essentially reverts c/s 2037f2adb "x86: introduce > alloc_vcpu_guest_context()", including the newer arm bits, but achieves > the same end goal by using the newer vmalloc() infrastructure. > > For both x86 and ARM, {alloc,free}_vcpu_guest_

[Xen-devel] [PATCH v2] xen: Improve x86's alloc_vcpu_guest_context()

2015-09-17 Thread Andrew Cooper
This essentially reverts c/s 2037f2adb "x86: introduce alloc_vcpu_guest_context()", including the newer arm bits, but achieves the same end goal by using the newer vmalloc() infrastructure. For both x86 and ARM, {alloc,free}_vcpu_guest_context() become arch-local static inlines (which avoids a cal