[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 1/5] hw/core/machine: Reject thread level cache
From: |
Zhao Liu |
Subject: |
Re: [PATCH v7 1/5] hw/core/machine: Reject thread level cache |
Date: |
Fri, 10 Jan 2025 15:25:21 +0800 |
Hi Jonathon,
Thanks for more explaination!
Based on your clarification, I think the commit message for Patch 1
needs to be updated since I used the same wrods as the cover letter...
What about the following change?
On Wed, Jan 08, 2025 at 11:01:46PM +0800, Zhao Liu wrote:
> Date: Wed, 8 Jan 2025 23:01:46 +0800
> From: Zhao Liu <zhao1.liu@intel.com>
> Subject: [PATCH v7 1/5] hw/core/machine: Reject thread level cache
> X-Mailer: git-send-email 2.34.1
>
> Currently, neither i386 nor ARM have real hardware support for per-
> thread cache, and there is no clear demand for this specific cache
> topology.
>
> Additionally, since supporting this special cache topology on ARM
> requires extra effort [1], it is unnecessary to support it at this
> moment, even though per-thread cache might have potential scheduling
> benefits for VMs without CPU affinity.
Additionally, since ARM even can't support this special cache topology
in device tree, it is unnecessary to support it at this moment, even
though per-thread cache might have potential scheduling benefits for
VMs without CPU affinity.
If it's fine for u, I'll resend this series quickly.
Thanks,
Zhao
> Therefore, disable thread-level cache topology in the general machine
> part. At present, i386 has not enabled SMP cache, so disabling the
> thread parameter does not pose compatibility issues.
>
> In the future, if there is a clear demand for this feature, the correct
> approach would be to add a new control field in MachineClass.smp_props
> and enable it only for the machines that require it.
>
> [1]: Z3efFsigJ6SxhqMf@intel.com/#t">https://lore.kernel.org/qemu-devel/Z3efFsigJ6SxhqMf@intel.com/#t
>
> Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
- [PATCH v7 0/5] i386: Support SMP Cache Topology, Zhao Liu, 2025/01/08
- [PATCH v7 1/5] hw/core/machine: Reject thread level cache, Zhao Liu, 2025/01/08
- Re: [PATCH v7 1/5] hw/core/machine: Reject thread level cache,
Zhao Liu <=
- [PATCH v7 2/5] i386/cpu: Support module level cache topology, Zhao Liu, 2025/01/08
- [PATCH v7 3/5] i386/cpu: Update cache topology with machine's configuration, Zhao Liu, 2025/01/08
- [PATCH v7 4/5] i386/pc: Support cache topology in -machine for PC machine, Zhao Liu, 2025/01/08
- [PATCH v7 5/5] i386/cpu: add has_caches flag to check smp_cache configuration, Zhao Liu, 2025/01/08
- RE: [PATCH v7 0/5] i386: Support SMP Cache Topology, Alireza Sanaee, 2025/01/10
- Re: [PATCH v7 0/5] i386: Support SMP Cache Topology, Jonathan Cameron, 2025/01/10