Messages in this thread | | | From | "Metzger, Markus T" <> | Date | Tue, 15 Sep 2009 13:19:36 +0100 | Subject | RE: [patch, resend] x86, perf_counter, bts: optimize BTS overflow handling |
| |
>-----Original Message----- >From: Peter Zijlstra [mailto:a.p.zijlstra@chello.nl] >Sent: Tuesday, September 15, 2009 1:40 PM
>You could also look at throttling the BTS interrupt when you notice >you're doing them back-to-back..
There are always ~2k kernel branches between two interrupts.
I would need to detect whether the rest of the kernel has enough time left. Any idea how I could do this?
thanks and regards, markus.
--------------------------------------------------------------------- Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen Germany Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer Registergericht: Muenchen HRB 47456 Ust.-IdNr. VAT Registration No.: DE129385895 Citibank Frankfurt (BLZ 502 109 00) 600119052
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
| |