Re: [Xen-devel] [PATCH RFC v2 10/12] x86: allocate per-vcpu stacks for interrupt entries

2018-02-13 Thread Jan Beulich
>>> On 09.02.18 at 13:35, wrote: > On 30/01/18 16:40, Jan Beulich wrote: > On 22.01.18 at 13:32, wrote: >>> @@ -37,10 +52,24 @@ struct vcpu; >>> >>> struct cpu_info { >>> struct cpu_user_regs guest_cpu_user_regs; >>> -unsigned int processor_id;

Re: [Xen-devel] [PATCH RFC v2 10/12] x86: allocate per-vcpu stacks for interrupt entries

2018-02-09 Thread Juergen Gross
On 30/01/18 16:40, Jan Beulich wrote: On 22.01.18 at 13:32, wrote: >> @@ -37,10 +52,24 @@ struct vcpu; >> >> struct cpu_info { >> struct cpu_user_regs guest_cpu_user_regs; >> -unsigned int processor_id; >> -struct vcpu *current_vcpu; >> -unsigned long

Re: [Xen-devel] [PATCH RFC v2 10/12] x86: allocate per-vcpu stacks for interrupt entries

2018-01-30 Thread Juergen Gross
On 30/01/18 16:40, Jan Beulich wrote: On 22.01.18 at 13:32, wrote: >> In case of XPTI being active for a pv-domain allocate and initialize >> per-vcpu stacks. The stacks are added to the per-domain mappings of >> the pv-domain. > > Considering the intended use of these

Re: [Xen-devel] [PATCH RFC v2 10/12] x86: allocate per-vcpu stacks for interrupt entries

2018-01-30 Thread Jan Beulich
>>> On 22.01.18 at 13:32, wrote: > In case of XPTI being active for a pv-domain allocate and initialize > per-vcpu stacks. The stacks are added to the per-domain mappings of > the pv-domain. Considering the intended use of these stacks (as per the overview mail) I consider 32k

[Xen-devel] [PATCH RFC v2 10/12] x86: allocate per-vcpu stacks for interrupt entries

2018-01-22 Thread Juergen Gross
In case of XPTI being active for a pv-domain allocate and initialize per-vcpu stacks. The stacks are added to the per-domain mappings of the pv-domain. Signed-off-by: Juergen Gross --- xen/arch/x86/pv/domain.c | 72 +++