Re: [PATCH RESEND 05/18] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-02-14 Thread wangyanan (Y)
在 2023/2/15 15:10, Zhao Liu 写道: On Wed, Feb 15, 2023 at 11:28:25AM +0800, wangyanan (Y) wrote: Date: Wed, 15 Feb 2023 11:28:25 +0800 From: "wangyanan (Y)" Subject: Re: [PATCH RESEND 05/18] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid() 在 2023/2/13 17:36, Zhao Liu 写道: From:

Re: [PATCH RESEND 05/18] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-02-14 Thread Zhao Liu
On Wed, Feb 15, 2023 at 11:28:25AM +0800, wangyanan (Y) wrote: > Date: Wed, 15 Feb 2023 11:28:25 +0800 > From: "wangyanan (Y)" > Subject: Re: [PATCH RESEND 05/18] i386/cpu: Consolidate the use of > topo_info in cpu_x86_cpuid() > > 在 2023/2/13 17:36, Zhao Liu 写道: > > From: Zhao Liu > > > > In

Re: [PATCH RESEND 05/18] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-02-14 Thread wangyanan (Y)
在 2023/2/13 17:36, 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

[PATCH RESEND 05/18] i386/cpu: Consolidate the use of topo_info in cpu_x86_cpuid()

2023-02-13 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