From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tiago =?ISO-8859-1?B?U2lt9WVz?= Batista Subject: Re: High latency on /sys/class/thermal Date: Sat, 11 Apr 2009 23:16:11 +0100 Message-ID: <20090411231611.7c5f9b69@ua.pt> References: <20090411155612.5808570c@ua.pt> <20090411121416.91fe3c88.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f158.google.com ([209.85.220.158]:51000 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754420AbZDKWQR (ORCPT ); Sat, 11 Apr 2009 18:16:17 -0400 In-Reply-To: <20090411121416.91fe3c88.akpm@linux-foundation.org> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Andrew Morton Cc: Tiago =?ISO-8859-1?B?U2lt9WVz?= Batista , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Matthew Garrett , Zhang Rui Sorry about the noise, by brain was stopped when I sent the last mail, please ignore the From address, it is wrong! On Sat, 11 Apr 2009 12:14:16 -0700 Andrew Morton wrote: > (cc linux-acpi) > > On Sat, 11 Apr 2009 15:56:12 +0100 "Tiago Sim__es Batista" > wrote: > > > Hi all > > > > Yesterday, I recompiled my kernel (git + tuxonice) > > v2.6.30-rc1-1002-gac91f91, there were a couple of issues, the main > > one is ilustrated bellow. > > > > I am not familiar with the kernel code, but if you give me some > > pointers, I will be glad to investigate this further > > > > $time cat /sys/class/thermal/thermal_zone0/temp > > 34000 > > > > real 0m6.613s > > user 0m0.000s > > sys 0m0.001s > > > > Is this a regression? Was 2.6.29 OK? > > Thanks. My last kernel was fine: $ time cat /sys/class/thermal/thermal_zone0/temp 48000 real 0m0.007s user 0m0.001s sys 0m0.007s I also forgot to add some information about my kernels... The good one is 2.6.29 + tuxonice as it was the day after the 2.6.29 kernel was released. The bad one is a pull from linus tree on april the 9th plus tuxonice on the same day from git (hope this helps): $ git describe v2.6.29-tiago2-ice v2.6.29-836-g00492ed $ git describe v2.6.30-rc1-tiago1-ice v2.6.30-rc1-1002-gac91f91 If tuxonice is a suspect, I will be glad to remove it and recompile. If I have the time later this weekend, and nothing was found, I will try to bisect this.