Re: [PATCH v4] x86/PoD: tie together P2M update and increment of entry count

2024-03-14 Thread Jan Beulich
On 13.03.2024 17:31, George Dunlap wrote: > On Wed, Mar 13, 2024 at 2:00 PM Jan Beulich wrote: >> >> When not holding the PoD lock across the entire region covering P2M >> update and stats update, the entry count - if to be incorrect at all - >> should indicate too large a value in preference to

Re: [PATCH v4] x86/PoD: tie together P2M update and increment of entry count

2024-03-13 Thread George Dunlap
On Wed, Mar 13, 2024 at 2:00 PM Jan Beulich wrote: > > When not holding the PoD lock across the entire region covering P2M > update and stats update, the entry count - if to be incorrect at all - > should indicate too large a value in preference to a too small one, to > avoid functions bailing

[PATCH v4] x86/PoD: tie together P2M update and increment of entry count

2024-03-13 Thread Jan Beulich
When not holding the PoD lock across the entire region covering P2M update and stats update, the entry count - if to be incorrect at all - should indicate too large a value in preference to a too small one, to avoid functions bailing early when they find the count is zero. However, instead of