All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] x86: reduce cache flushing overhead
@ 2023-05-03  9:43 Jan Beulich
  2023-05-03  9:44 ` [PATCH v2 1/6] x86: support cache-writeback in flush_area_local() et al Jan Beulich
                   ` (5 more replies)
  0 siblings, 6 replies; 29+ messages in thread
From: Jan Beulich @ 2023-05-03  9:43 UTC (permalink / raw)
  To: xen-devel@lists.xenproject.org
  Cc: Andrew Cooper, Wei Liu, Roger Pau Monné

..., first and foremost by using cache write-back operations instead
of flushing (evicting) ones when available and sufficient for the
purpose.

In the context of making the last patch I started wondering whether
for PV we don't flush (write back) too little for MMUEXT_FLUSH_CACHE:
Just like for HVM, pCPU-s a vCPU has run on before could still hold
data in their caches. (We clearly still flush / write back too much
in MMUEXT_FLUSH_CACHE_GLOBAL even with this series in place.) We also
can't call this the guest's responsibility, as it may not have any
means to have one of its vCPU-s run on the intended pCPU.

v2 is merely changing some names, compared to v1. Other discussion
on feedback sadly looks to have stalled.

1: x86: support cache-writeback in flush_area_local() et al
2: x86/HVM: restrict guest-induced WBINVD to cache writeback
3: x86/PV: restrict guest-induced WBINVD (or alike) to cache writeback
4: VT-d: restrict iommu_flush_all() to cache writeback
5: x86: FLUSH_CACHE -> FLUSH_CACHE_EVICT
6: x86/HVM: limit cache writeback overhead

Jan


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2025-05-15  8:09 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-03  9:43 [PATCH v2 0/6] x86: reduce cache flushing overhead Jan Beulich
2023-05-03  9:44 ` [PATCH v2 1/6] x86: support cache-writeback in flush_area_local() et al Jan Beulich
2025-05-13 13:01   ` Roger Pau Monné
2023-05-03  9:45 ` [PATCH v2 2/6] x86/HVM: restrict guest-induced WBINVD to cache writeback Jan Beulich
2025-05-13 13:12   ` Andrew Cooper
2025-05-13 13:24     ` Jan Beulich
2025-05-13 13:41   ` Roger Pau Monné
2025-05-13 13:54     ` Jan Beulich
2025-05-14 11:30       ` Roger Pau Monné
2025-05-14 12:46         ` Jan Beulich
2025-05-14 14:42           ` Roger Pau Monné
2025-05-14 14:53             ` Jan Beulich
2023-05-03  9:45 ` [PATCH v2 3/6] x86/PV: restrict guest-induced WBINVD (or alike) " Jan Beulich
2023-05-03  9:46 ` [PATCH v2 4/6] VT-d: restrict iommu_flush_all() " Jan Beulich
2025-05-14 11:40   ` Roger Pau Monné
2025-05-14 12:49     ` Jan Beulich
2025-05-14 14:44   ` Roger Pau Monné
2025-05-14 14:57     ` Jan Beulich
2023-05-03  9:46 ` [PATCH v2 5/6] x86: FLUSH_CACHE -> FLUSH_CACHE_EVICT Jan Beulich
2025-05-14 11:44   ` Roger Pau Monné
2025-05-14 12:52     ` Jan Beulich
2025-05-14 14:45       ` Roger Pau Monné
2025-05-15  6:46         ` Jan Beulich
2023-05-03  9:47 ` [PATCH v2 6/6] x86/HVM: limit cache writeback overhead Jan Beulich
2025-05-14 13:00   ` Roger Pau Monné
2025-05-14 13:20     ` Jan Beulich
2025-05-14 15:12       ` Roger Pau Monné
2025-05-15  6:47         ` Jan Beulich
2025-05-15  8:09           ` Roger Pau Monné

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.