Messages in this thread | | | Subject | Re: bisected: 'perf top' causing soft lockups under Xen | From | Peter Zijlstra <> | Date | Tue, 20 Mar 2012 16:33:30 +0100 |
| |
On Tue, 2012-03-20 at 11:23 -0400, Konrad Rzeszutek Wilk wrote:
> But in the meantime, are there any good docs to look over to get a good idea > of how the perf code works?
Nope.. I don't think anybody bothered to write it down, and if they did keep it up to date.
Best option is to just ask specific questions, either via email or irc.
But in particular the self-ipi stuff is contained in kernel/irq_work.c. Its a lock-less list of work-items to be ran from irq-context on the cpu that queues them. Typical usage would be from NMI context, although you could equally well use it from any other context.
| |