From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759357AbZDKWQ2 (ORCPT ); Sat, 11 Apr 2009 18:16:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757771AbZDKWQS (ORCPT ); Sat, 11 Apr 2009 18:16:18 -0400 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 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=tqzG0S7ZfUOgIJy4O9LQ/J3Zf9xAgULx8eD/sJAz1UA0yMu2482PHisWSiLSxYrakN tpOARrBn4g6c1DfXlp85gwQFj0uzE7bYXiG1m6Yto2eFQ5PurVSDgBePJ5UbR+XC96mD uREXRvhs+yWmZWQs7wbMxSm8YWqo8x+lteSEI= Date: Sat, 11 Apr 2009 23:16:11 +0100 From: Tiago =?ISO-8859-1?B?U2lt9WVz?= Batista 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 Subject: Re: High latency on /sys/class/thermal Message-ID: <20090411231611.7c5f9b69@ua.pt> In-Reply-To: <20090411121416.91fe3c88.akpm@linux-foundation.org> References: <20090411155612.5808570c@ua.pt> <20090411121416.91fe3c88.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.