Hi,

We are working on a utility that uses perfmon2 for sampling PMU 
counters, and at a very high overflow (sample) rate (~16k samples/sec), 
we are seeing frequent kernel deadlocks which appear to be due to some 
of the perfmon kernel code calling spin_lock/spin_unlock instead of 
pfm_spin_lock_irqsave/pfm_spin_unlock_irqrestore on ctx->lock.  In 
particular, the calls in question are perfmon_ctxsw.c and in perfmon_intr.c.

We have modified the code to call the pfm irq versions and will report 
back if it fixes the problem.

- Corey

-- 
Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to