From: Guenter Roeck Date: Thu, 19 Aug 2010 17:07:17 +0000 Subject: Re: [lm-sensors] [PATCH] drivers/hwmon/coretemp: Fix incorrect Message-Id: <20100819170717.GA4312@ericsson.com> List-Id: References: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> In-Reply-To: <1282172027-640-1-git-send-email-fenghua.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Fenghua Yu Cc: Rudolf Marek , Huaxu Wan , H Peter Anvin , Chen Gong , Jean Delvare , linux-kernel , lm-sensors On Wed, Aug 18, 2010 at 06:53:45PM -0400, Fenghua Yu wrote: > From: Fenghua Yu > > In current coretemp driver, when a CPU in dev_list is hot-removed, although its > HT sibling is still running, its core sensor is gone and not available to user > level application any more. > > When a CPU is hot-removed, its core sensor should be still available to upper > level application as long as the hot-removed CPU's HT sibling is still running. > A core sensor is invisible to user level only when all of siblings in a core are > hot-removed. > Isn't that just a short term (ie a couple of ms or even us) race condition until the sibling is removed as well ? If so, why bother ? Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors