Re: [PATCH v3 06/17] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-08-04 Thread Zhao Liu
Hi Babu, On Wed, Aug 02, 2023 at 11:31:46AM -0500, Moger, Babu wrote: > Date: Wed, 2 Aug 2023 11:31:46 -0500 > From: "Moger, Babu" > Subject: Re: [PATCH v3 06/17] i386/cpu: Consolidate the use of topo_info in > cpu_x86_cpuid() > > Hi Zhao, > > On 8/1/23 05:35, Zhao Liu wrote: > > From: Zhao

Re: [PATCH v3 06/17] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-08-02 Thread Moger, Babu
Hi Zhao, On 8/1/23 05:35, Zhao Liu wrote: > From: Zhao Liu > > In cpu_x86_cpuid(), there are many variables in representing the cpu > topology, e.g., topo_info, cs->nr_cores/cs->nr_threads. > > Since the names of cs->nr_cores/cs->nr_threads does not accurately > represent its meaning, the use

[PATCH v3 06/17] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-08-01 Thread Zhao Liu
From: Zhao Liu In cpu_x86_cpuid(), there are many variables in representing the cpu topology, e.g., topo_info, cs->nr_cores/cs->nr_threads. Since the names of cs->nr_cores/cs->nr_threads does not accurately represent its meaning, the use of cs->nr_cores/cs->nr_threads is prone to confusion and