Re: system freezes for 0.2 to 0.5 seconds when reading/proc/acpi/thermal_zone/THRM/temperature

From: Andrew Morton
Date: Thu Jul 28 2005 - 01:58:49 EST


Florian Engelhardt <flo@xxxxxxxxxx> wrote:
>
> Hello,
>
> On Wed, 27 Jul 2005 16:16:05 -0700
> Andrew Morton <akpm@xxxxxxxx> wrote:
>
> > Florian Engelhardt <flo@xxxxxxxxxx> wrote:
> > >
> > > Hello,
> > >
> > > first of all, sorry for the long headline.
> > > second:
> > > Every time, i try to do the following:
> > > cat /proc/acpi/thermal_zone/THRM/temperature
> > > the whole system looks up for a short period of time (something
> > > about 0.5s). realy everything, video and audio encoding, mouse and
> > > keyboard input, firefox playing a flash animation, ...
> > > I am also getting the following:
> > > Losing some ticks... checking if CPU frequency changed.
> > >
> > > maybe these two things are belonging to each other.
> > >
> > > I am using a 2.6.12-rc3-mm1 kernel on a amd64 with a nvidia nforce4
> > > mainboard.
> >
> > It might help if you were to generate a kernel profile:
> >
> > readprofile -r
>
> returns:
> /proc/profile: No such file or directory
>
> do i have to activate something special during kernel configuration?

Set CONFIG_PROFILING=y

> btw: i saw that mm2 is available. Are there any changes in it, which
> could solve this problem?

Well there's a huge ACPI patch in there, but I cannot say whether it
addresses this problem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/