From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
David Miller <davem@davemloft.net>
Subject: Re: [PATCH 0/2] ftrace updates
Date: Sat, 16 Aug 2008 15:32:57 +0200 [thread overview]
Message-ID: <20080816133257.GA11063@elte.hu> (raw)
In-Reply-To: <20080816014003.978160137@goodmis.org>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> Due to the new mcount recording method, the assumptions about the
> records that hold the mcount locations have changed. Now we need to
> protect reading and writing of the records between module load and
> reading of the debugfs files. There is not much contention here, but
> they need to be protected none the less.
>
> I simply use the ftrace_lock to accomplish this. The ftrace_lock
> should never be held under interrupt context so disabling interrupts
> should not be necessary. I've run this under lockdep and lockdep has
> not complained.
applied to tip/tracing/ftrace - thanks Steve.
Ingo
prev parent reply other threads:[~2008-08-16 13:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-16 1:40 [PATCH 0/2] ftrace updates Steven Rostedt
2008-08-16 1:40 ` [PATCH 1/2] ftrace: do not init module on ftrace disabled Steven Rostedt
2008-08-16 1:40 ` [PATCH 2/2] ftrace: add necessary locking for ftrace records Steven Rostedt
2008-08-16 13:32 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080816133257.GA11063@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox