linux-mips
[Top] [All Lists]

Re: [PATCH v8 00/16] ftrace for MIPS

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH v8 00/16] ftrace for MIPS
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 16 Nov 2009 14:48:31 +0100
Cc: rostedt@goodmis.org, Frederic Weisbecker <fweisbec@gmail.com>, Ingo Molnar <mingo@elte.hu>, Nicholas Mc Guire <der.herr@hofr.at>, David Daney <ddaney@caviumnetworks.com>, Richard Sandiford <rdsandiford@googlemail.com>, Patrik Kluba <kpajko79@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Michal Simek <monstr@monstr.eu>, "Maciej W . Rozycki" <macro@linux-mips.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, zhangfx@lemote.com, zhouqg@gmail.com
In-reply-to: <cover.1258177321.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cover.1258177321.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.19 (2009-01-05)
On Sat, Nov 14, 2009 at 02:30:31PM +0800, Wu Zhangjin wrote:

Time to talk about how to get the whole thing merged.

I'm reasonably happy with the arch part of the patchset.  There are two
remaining issues in the arch part - cache flushing will not work as is on
a SMP system and the whole code patching is going to fail if the kernel
text is replicated with CONFIG_REPLICATE_KTEXT which is an IP27-only option.

I suggest we should go ahready and just disallow dynamic ftrace on on
these problematic configurations for now and deal with them later, so
something like

        select HAVE_DYNAMIC_FTRACE if !SMP && !REPLICATE_KTEXT

This leaves the non-arch bits to merge; patches which touch code outside
of arch/mips are:

    [PATCH v8 01/16] tracing: convert trace_clock_local() as weak function
    [PATCH v8 06/16] tracing: add an endian argument to
    [PATCH v8 07/16] tracing: add dynamic function tracer support for MIPS
    [PATCH v8 09/16] tracing: define a new __time_notrace annotation flag
    [PATCH v8 10/16] tracing: not trace the timecounter_read* in

  Ralf

<Prev in Thread] Current Thread [Next in Thread>