Re: [UBUNTU:acpi/ec] Use semaphore instead of spinlock

From: Lee Revell
Date: Fri Jun 16 2006 - 22:55:48 EST


On Fri, 2006-06-16 at 11:23 +0200, Voluspa wrote:
> On Thu, 15 Jun 2006 12:27:03 -0400 Lee Revell wrote:
> > On Thu, 2006-06-15 at 13:03 +0200, Voluspa wrote:
> > > On Wed, 14 Jun 2006 18:14:54 -0700 Randy Dunlap wrote:
> > > > updated version:
> > >
> > > As a user, it's great if this fixes people's keyboards and mice. But it's
> > > not a panacea. Gkrellm reads CPU temperatures from
> > > /proc/acpi/thermal_zone/*/temperature and that disturbs a time-critical
> > > application like mplayer, both when reading normal video and hacked mms:
> > > sound streams (ogg sound is OK, though):
> > >
> >
> > It would be helpful to analyze this with Ingo's latency tracing patch.
>
> Do you mean proper in relation to ubuntu-patched, or just proper?

Not sure, I'm not familiar with the exact reason that reading CPU
temperatures would cause long latencies like this. The latency tracer
can tell you the exact code path responsible.

> And, hmmm,
> I do read a lot of archived lkml threads, but latency tracing patch... Is
> it buried in the -rt set?

It's part of the -rt set and also available broken out for 2.6.16:

http://people.redhat.com/mingo/latency-tracing-patches/latency-tracing-v2.6.16.patch

Lee

-
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/