Re: [PATCH v2] xen/grant-table: Simplify the update to the per-vCPU maptrack freelist

2021-06-14 Thread Julien Grall
Hi Jan, On 09/06/2021 12:20, Jan Beulich wrote: On 08.06.2021 12:08, Julien Grall wrote: From: Julien Grall Since XSA-228 (commit 02cbeeb62075 "gnttab: split maptrack lock to make it fulfill its purpose again"), v->maptrack_head, v->maptrack_tail and the content of the freelist are accessed

Re: [PATCH v2] xen/grant-table: Simplify the update to the per-vCPU maptrack freelist

2021-06-09 Thread Jan Beulich
On 08.06.2021 12:08, Julien Grall wrote: > From: Julien Grall > > Since XSA-228 (commit 02cbeeb62075 "gnttab: split maptrack lock > to make it fulfill its purpose again"), v->maptrack_head, > v->maptrack_tail and the content of the freelist are accessed with > the lock v->maptrack_freelist_lock

[PATCH v2] xen/grant-table: Simplify the update to the per-vCPU maptrack freelist

2021-06-08 Thread Julien Grall
From: Julien Grall Since XSA-228 (commit 02cbeeb62075 "gnttab: split maptrack lock to make it fulfill its purpose again"), v->maptrack_head, v->maptrack_tail and the content of the freelist are accessed with the lock v->maptrack_freelist_lock held. Therefore it is not necessary to update the