Re: [RT] [RFC] simple SMI detector

From: Mike Kravetz
Date: Sun Jan 25 2009 - 17:52:19 EST


On Fri, Jan 23, 2009 at 05:55:12PM -0500, Jon Masters wrote:
> This patch adds the module smi_detector under drivers/misc
>
> Code from Jon Masters with small changes from Luis Goncalves and
> documentation from Clark Williams.

Good work Jon. I think something like this will be helpful.

Any reason why you could not do SMI detection in user level code running
at the highest RT priority? If something is running at the highest RT
priority, it should not be preempted by anything. Right? In the past,
we discoved discovered periodic SMIs on some hardware platforms by running
a user level process in an infinite loop sampling the clock and reporting
unexpected delays. Of course, this does hog an entire CPU.

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