All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Asaf Nuri Bertizlioğlu" <asafbertizlioglu@gmail.com>
To: jm5905938@gmail.com
Cc: linux@roeck-us.net, linux-hwmon@vger.kernel.org,
	sashiko-bot@kernel.org, bakshansky.lists@gmail.com,
	sashiko-reviews@lists.linux.dev
Subject: Re: [PATCH v2] hwmon: (coretemp) Fix missing sensors with uneven core counts
Date: Sat,  5 Dec 2026 14:16:22 +0300	[thread overview]
Message-ID: <20261205111622.100456-1-asafbertizlioglu@gmail.com> (raw)
In-Reply-To: <20261205-coretemp-core-limit-v2-1-e10810df5a3a@gmail.com>

On Sat, Dec 05, 2026 at 05:12:43PM +1100, Aveline Noir wrote:
> v2: Use kvzalloc_objs() as Guenter suggested, and state the exact
> condition in the commit message. Kept Asaf's tags since the allocation
> change is small.

Since the code changed, I retested v2.

With your QEMU command line, package 1 gets Core 0 and Core 1, and no
"Adding Core" error is logged.

On the i7-14700F, 30 hotplug rounds (cpu2/cpu3 and cpu16) and 20
rmmod/insmod rounds, with a loop reading all coretemp sysfs files in
the background, gave 21/21 temperature inputs and no warnings in dmesg.
The array is small on this machine, so the vmalloc fallback was not
exercised.

The allocation and both kfree() calls on core_data are converted.
My tags still stand.

Thanks,
Asaf

  parent reply	other threads:[~2026-12-05 11:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05  6:12 [PATCH v2] hwmon: (coretemp) Fix missing sensors with uneven core counts Aveline Noir
2026-12-05  6:19 ` sashiko-bot
2026-12-05 11:16 ` Asaf Nuri Bertizlioğlu [this message]
2026-12-05 16:31 ` Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205111622.100456-1-asafbertizlioglu@gmail.com \
    --to=asafbertizlioglu@gmail.com \
    --cc=bakshansky.lists@gmail.com \
    --cc=jm5905938@gmail.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=sashiko-bot@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.