summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorRoman Bakshansky <bakshansky.lists@gmail.com>2026-05-16 14:42:52 +0300
committerGuenter Roeck <linux@roeck-us.net>2026-06-09 08:23:00 -0700
commitb89e1255c92ba7bbe78a7ba6cbda57bb02da7c3d (patch)
tree256404a5bac058475bacdb80a9b68dceb37191ff /scripts/stackusage
parent5354f06bdb20eaae1af9b84add428bc4d27280c2 (diff)
hwmon: (coretemp) replace hardcoded core count with dynamic value
The hardcoded maximum of 512 cores per package was first defined by commit 34cf8c657cf0 ("hwmon: (coretemp) Enlarge per package core count limit") and later kept as a fallback with a TODO in commit 1a793caf6f69 ("hwmon: (coretemp) Use dynamic allocated memory for core temp_data") because the actual per-package core count was not reliably available at the time. Now that topology_num_cores_per_package() is stable and suitable for use, it's time to complete the TODO and allocate only the needed amount of memory for core_data. Signed-off-by: Roman Bakshansky <bakshansky.lists@gmail.com> Link: https://lore.kernel.org/r/20260516114253.5466-2-bakshansky.lists@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions