lkml.org 
[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bisected: 'perf top' causing soft lockups under Xen
From
Date
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.


\
 
 \ /
  Last update: 2012-03-20 16:37    [W:0.060 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site