Re: [PATCH v3 1/4] machine: Add helpers to get cores/threads per socket

2023-06-27 Thread Zhao Liu
On Mon, Jun 26, 2023 at 03:43:25PM +0200, Igor Mammedov wrote: > Date: Mon, 26 Jun 2023 15:43:25 +0200 > From: Igor Mammedov > Subject: Re: [PATCH v3 1/4] machine: Add helpers to get cores/threads per > socket > X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)

Re: [PATCH v3 1/4] machine: Add helpers to get cores/threads per socket

2023-06-26 Thread Igor Mammedov
On Tue, 20 Jun 2023 18:39:55 +0800 Zhao Liu wrote: > From: Zhao Liu > > The number of cores/threads per socket are needed for smbios, and are > also useful for other modules. > > Provide the helpers to wrap the calculation of cores/threads per socket > so that we can avoid calculation errors c

[PATCH v3 1/4] machine: Add helpers to get cores/threads per socket

2023-06-20 Thread Zhao Liu
From: Zhao Liu The number of cores/threads per socket are needed for smbios, and are also useful for other modules. Provide the helpers to wrap the calculation of cores/threads per socket so that we can avoid calculation errors caused by other modules miss topology changes. Suggested-by: Igor M