[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c9589909-5c24-418b-96fd-f0fcb2be6a8f@roeck-us.net>
Date: Sun, 4 Feb 2024 06:50:38 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Zhang Rui <rui.zhang@...el.com>
Cc: jdelvare@...e.com, fenghua.yu@...el.com, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2 11/11] hwmon: (coretemp) Use dynamic allocated memory
for core temp_data
On Fri, Feb 02, 2024 at 05:21:44PM +0800, Zhang Rui wrote:
> The total memory needed for saving per core temperature data depends on
> the number of cores in a package. Using static allocated memory wastes
> memories on systems with low per package core count.
>
> Improve the code to use dynamic allocated memory so that it can be
> improved further when per package core count information becomes
> available.
>
> No functional change intended.
>
> Signed-off-by: Zhang Rui <rui.zhang@...el.com>
Applied.
Thanks,
Guenter
Powered by blists - more mailing lists