[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090602075450.GA12411@elte.hu>
Date: Tue, 2 Jun 2009 09:54:50 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Jon Masters <jonathan@...masters.org>,
linux-kernel@...r.kernel.org, jcm@...hat.com, tglx@...utronix.de,
rostedt@...dmis.org
Subject: Re: [RFC PATCH 1/1] smi_detector: A System Management Interrupt
detector
* Andrew Morton <akpm@...ux-foundation.org> wrote:
> On Sun, 31 May 2009 12:31:18 -0400 Jon Masters <jonathan@...masters.org> wrote:
>
> > This patch introduces a new SMI (System Management Interrupt) detector module
> > that can be used to detect high latencies within the system. It was originally
> > written for use in the RT kernel, but has wider applications.
> >
>
> Neat-looking code.
>
> AFACIT it can be used on any platform. Suppose that powerpcs or ia64s
> also mysteriously go to lunch like PC's do - I think the code will work
> for them too? In which case the "smi" name is excessively specific.
> Not a big deal though.
Yes, i wondered about that too - this is really a generic method
that detects and measures hardware latencies.
Many of the internal smi_ prefixes can go - such a prefix is really
only needed within a .c module if the symbol is exported.
The rest (and the whole facility) could be renamed to hwlat_,
hw_latency_ or so - prominently documenting that on x86 it can find
SMI latencies, etc.?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists