From: Lai Jiangshan <laijs@cn.fujitsu.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: [PATCH 2/2] tracing: Remove ftrace_preempt_disable/enable
Date: Fri, 04 Jun 2010 14:57:04 +0800 [thread overview]
Message-ID: <4C08A3C0.3090106@cn.fujitsu.com> (raw)
In-Reply-To: <20100604013557.373837407@goodmis.org>
Steven Rostedt wrote:
> From: Steven Rostedt <srostedt@redhat.com>
>
Acked-by: Lai Jiangshan <laijs@cn.fujitsu.com>
I think we may need to ensure need_resched() notrace:
-static inline int need_resched(void)
+static __always_inline int need_resched(void)
-static inline int test_ti_thread_flag(struct thread_info *ti, int flag)
+static __always_inline int test_ti_thread_flag(struct thread_info *ti, int flag)
...
I believe compiler will always inline them, It just looks nicer when use __always_inline.
next prev parent reply other threads:[~2010-06-04 6:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-04 1:35 [PATCH 0/2] [GIT PULL] tracing: removal of ftrace_preempt_disable Steven Rostedt
2010-06-04 1:35 ` [PATCH 1/2] tracing/sched: Make preempt_schedule() notrace Steven Rostedt
2010-06-04 1:35 ` [PATCH 2/2] tracing: Remove ftrace_preempt_disable/enable Steven Rostedt
2010-06-04 6:57 ` Lai Jiangshan [this message]
2010-06-08 17:35 ` [PATCH 0/2] [GIT PULL] tracing: removal of ftrace_preempt_disable Ingo Molnar
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=4C08A3C0.3090106@cn.fujitsu.com \
--to=laijs@cn.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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
Powered by JetHome