Re: [PATCH v2 11/11] x86/vpt: introduce a per-vPT lock

2020-10-23 Thread Jan Beulich
On 30.09.2020 15:30, Roger Pau Monné wrote: > On Wed, Sep 30, 2020 at 12:41:08PM +0200, Roger Pau Monne wrote: >> Introduce a per virtual timer lock that replaces the existing per-vCPU >> and per-domain vPT locks. Since virtual timers are no longer assigned >> or migrated between vCPUs the locking

Re: [PATCH v2 11/11] x86/vpt: introduce a per-vPT lock

2020-09-30 Thread Roger Pau Monné
On Wed, Sep 30, 2020 at 12:41:08PM +0200, Roger Pau Monne wrote: > Introduce a per virtual timer lock that replaces the existing per-vCPU > and per-domain vPT locks. Since virtual timers are no longer assigned > or migrated between vCPUs the locking can be simplified to a > in-structure spinlock th

[PATCH v2 11/11] x86/vpt: introduce a per-vPT lock

2020-09-30 Thread Roger Pau Monne
Introduce a per virtual timer lock that replaces the existing per-vCPU and per-domain vPT locks. Since virtual timers are no longer assigned or migrated between vCPUs the locking can be simplified to a in-structure spinlock that protects all the fields. This requires introducing a helper to initia