[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 03/10] hw/core/machine: Wrap target specific parameters to

From: wangyanan (Y)
Subject: Re: [PATCH v4 03/10] hw/core/machine: Wrap target specific parameters together
Date: Thu, 16 Dec 2021 22:06:27 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0


On 2021/12/16 21:23, Philippe Mathieu-Daudé wrote:
On 11/21/21 13:24, Yanan Wang wrote:
Wrap the CPU target specific parameters together into a single
variable, so that we don't need to update the other lines but
a single line when new topology parameters are introduced.
Where new params are introduced? Not in this series apparently.
The commit message may not clearly express what I mean.
A new parameter "clusters" is added in patch #2, and now we have
specific dies and clusters, I tried to wrap these two parameters together
so that the code lines can be shorter and look more concise.

If it's thought not that necessary to do this change, I will get rid of this
patch of course.


No functional change intended.

Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
  hw/core/machine-smp.c | 17 ++++++++++-------
  1 file changed, 10 insertions(+), 7 deletions(-)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]