Re: [PATCH V2 11/11] hwmon: (coretemp) Use dynamic allocated memory for core temp_data

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

 



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@xxxxxxxxx>

Applied.

Thanks,
Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux