From: Mike Galbraith Date: Fri, 23 Jan 2009 09:13:01 +0000 (+0100) Subject: perfcounters: throttle on too high IRQ rates X-Git-Tag: v2.6.31-rc1~383^2~523 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b023a96d9b44f50f4d8ff28c15f5b80e354760f;p=pandora-kernel.git perfcounters: throttle on too high IRQ rates Starting kerneltop with only -c 100 seems to be a bad idea, it can easily lock the system due to perfcounter IRQ overload. So add throttling: if a new IRQ arrives in a shorter than PERFMON_MIN_PERIOD_NS time, turn off perfcounters and untrottle them from the next timer tick. Signed-off-by: Mike Galbraith Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed