Re: [patch] x86, perf_counter, bts: optimize BTS overflow handling

From: Pavel Machek
Date: Tue Sep 15 2009 - 07:34:22 EST


On Tue 2009-09-08 08:31:10, Markus Metzger wrote:
> Draining the BTS buffer on a buffer overflow interrupt takes too long
> resulting in a kernel lockup when tracing the kernel.

Wait. If 'takes too long' leads to 'lockup'...solution is not making
it faster. Solution should be making kernel robust -- maybe disable
tracing when it can't keep up or something...? or maybe disabling
interrupt until you handle the previous one...?
Pavel



--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/