Re: [PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2025-05-15 Thread Roger Pau Monné
On Thu, May 15, 2025 at 08:47:46AM +0200, Jan Beulich wrote: > On 14.05.2025 17:12, Roger Pau Monné wrote: > > On Wed, May 14, 2025 at 03:20:56PM +0200, Jan Beulich wrote: > >> On 14.05.2025 15:00, Roger Pau Monné wrote: > >>> On Wed, May 03, 2023 at 11:47:18AM +0200, Jan Beulich wrote: > Ther

Re: [PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2025-05-14 Thread Jan Beulich
On 14.05.2025 17:12, Roger Pau Monné wrote: > On Wed, May 14, 2025 at 03:20:56PM +0200, Jan Beulich wrote: >> On 14.05.2025 15:00, Roger Pau Monné wrote: >>> On Wed, May 03, 2023 at 11:47:18AM +0200, Jan Beulich wrote: There's no need to write back caches on all CPUs upon seeing a WBINVD

Re: [PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2025-05-14 Thread Roger Pau Monné
On Wed, May 14, 2025 at 03:20:56PM +0200, Jan Beulich wrote: > On 14.05.2025 15:00, Roger Pau Monné wrote: > > On Wed, May 03, 2023 at 11:47:18AM +0200, Jan Beulich wrote: > >> There's no need to write back caches on all CPUs upon seeing a WBINVD > >> exit; ones that a vCPU hasn't run on since the

Re: [PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2025-05-14 Thread Jan Beulich
On 14.05.2025 15:00, Roger Pau Monné wrote: > On Wed, May 03, 2023 at 11:47:18AM +0200, Jan Beulich wrote: >> There's no need to write back caches on all CPUs upon seeing a WBINVD >> exit; ones that a vCPU hasn't run on since the last writeback (or since >> it was started) can't hold data which may

Re: [PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2025-05-14 Thread Roger Pau Monné
On Wed, May 03, 2023 at 11:47:18AM +0200, Jan Beulich wrote: > There's no need to write back caches on all CPUs upon seeing a WBINVD > exit; ones that a vCPU hasn't run on since the last writeback (or since > it was started) can't hold data which may need writing back. Couldn't you do the same wit

[PATCH v2 6/6] x86/HVM: limit cache writeback overhead

2023-05-03 Thread Jan Beulich
There's no need to write back caches on all CPUs upon seeing a WBINVD exit; ones that a vCPU hasn't run on since the last writeback (or since it was started) can't hold data which may need writing back. Signed-off-by: Jan Beulich --- With us not running AMD IOMMUs in non-coherent ways, I wonder w