From: Ingo Molnar <mingo@elte.hu>
To: Paul Mackerras <paulus@samba.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 0/7] Porting dynmaic ftrace to PowerPC
Date: Wed, 19 Nov 2008 11:57:19 +0100 [thread overview]
Message-ID: <20081119105719.GA21533@elte.hu> (raw)
In-Reply-To: <18723.60578.179210.736789@cargo.ozlabs.ibm.com>
* Paul Mackerras <paulus@samba.org> wrote:
> Ingo Molnar writes:
>
> > * Steven Rostedt <rostedt@goodmis.org> wrote:
> >
> > > On Wed, 19 Nov 2008, Paul Mackerras wrote:
> > >
> > > > Steven Rostedt writes:
> > > >
> > > > > Can I add your Acked-by: to all these patches that I submitted? I'm going
> > > > > to recommit them with a consistent subject (all lower case ppc), but I'm
> > > > > not going to change the patches themselves.
> > > > >
> > > > > Would you two be fine with that? Or at least one of you?
> > > >
> > > > My preference would be for the patches to go through the powerpc tree
> > > > unless there is a good reason for them to go via another tree.
> > >
> > > I have no problem with that. The only thing is that we have a lot of
> > > pending work still in the linux-tip tree, which you may need to pull
> > > in to get these patches working. Well, there's two or three commits
> > > in the generic code that I know the PPC code is dependent on.
> > >
> > > I could give you a list of commits in tip that need to go mainline
> > > first before we can pull in the PPC changes. Then you could wait
> > > till those changes make it into 29 and then you could push the PPC
> > > modifications in from your tree.
> >
> > note that this inserts a lot of (unnecessary) serialization and a
> > window of non-testing - by all likelyhood this will delay ppc ftrace
> > to v2.6.30 or later kernels.
>
> Well, note that I said "unless there is a good reason". If it does
> need to go via your tree, it can, though I don't see that it will
> get much testing on powerpc there, and having it there will make it
> harder to manage any conflicts with the other stuff I have queued
> up.
this is the diffstat:
arch/powerpc/Kconfig | 2 +
arch/powerpc/include/asm/ftrace.h | 14 +-
arch/powerpc/include/asm/module.h | 16 ++-
arch/powerpc/kernel/ftrace.c | 460 +++++++++++++++++++++++++++++++++---
arch/powerpc/kernel/idle.c | 5 +
arch/powerpc/kernel/module_32.c | 10 +
arch/powerpc/kernel/module_64.c | 13 +
scripts/recordmcount.pl | 18 ++-
8 files changed, 495 insertions(+), 43 deletions(-)
90% of it creates new code that shouldnt be collision-happy.
it does not "need" to go via tip/tracing, i just pointed out the
effects of the proposed workflow and i'm just trying to find a more
efficient workflow for it - while not impacting yours either. I think
it can be done - git gives us tons of tools to do this intelligently.
> How much generic stuff that's not upstream do the powerpc ftrace
> patches depend on?
a lot:
66 files changed, 3266 insertions(+), 985 deletions(-)
and it's all in flux (we are in the middle of the development cycle),
so i dont think it would be a good idea for you to pull those bits
into the powerpc tree.
Maybe Steve could do the following trick: create a Linus -git based
branch that uses the new APIs but marks ppc's ftrace as "depends 0" in
the powerpc Kconfig. (the new ftrace.c wont build)
You could pull that tree into the powerpc tree and everything should
still work fine in PPC - sans ftrace.
In tip/tracing we'd merge it too (these commits will never be
rebased), and we'd also remove the depends 0 from the powerpc Kconfig.
That sole change wont conflict with anything powerpc.
It would all play out just fine in linux-next: we'd have both the
latest powerpc bits and the latest ftrace bits on powerpc. You could
test the non-ftrace impact of Steve's changes in the powerpc tree as
well and have it all part of your usual workflow.
The 2.6.29 merge window would be trouble-free as well: since the
sha1's are the same, any of the trees can be merged upstream without
having to wait for the other one and without creating conflicts or
other trouble for the other one.
Hm?
Ingo
next prev parent reply other threads:[~2008-11-19 10:57 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-16 21:24 [PATCH 0/7] Porting dynmaic ftrace to PowerPC Steven Rostedt
2008-11-16 21:24 ` [PATCH 1/7] ftrace, PPC: do not latency trace idle Steven Rostedt
2008-11-17 3:43 ` Paul Mackerras
2008-11-17 15:43 ` Steven Rostedt
2008-11-16 21:24 ` [PATCH 2/7] ftrace, ppc: convert to new dynamic ftrace arch API Steven Rostedt
2008-11-17 3:57 ` Paul Mackerras
2008-11-17 15:47 ` Steven Rostedt
2008-11-16 21:24 ` [PATCH 3/7] ftrace: powerpc mcount record port Steven Rostedt
2008-11-16 21:24 ` [PATCH 4/7] ftrace, PPC: use probe_kernel API to modify code Steven Rostedt
2008-11-17 4:44 ` Paul Mackerras
2008-11-17 15:51 ` Steven Rostedt
2008-11-16 21:24 ` [PATCH 5/7] ftrace, PPC64: handle module trampolines for dyn ftrace Steven Rostedt
2008-11-17 5:00 ` Paul Mackerras
2008-11-17 16:02 ` Steven Rostedt
2008-11-17 16:18 ` Steven Rostedt
2008-11-16 21:24 ` [PATCH 6/7] ftrace,ppc32: enabled dynamic ftrace Steven Rostedt
2008-11-16 21:24 ` [PATCH 7/7] ftrace,ppc32: dynamic ftrace to handle modules Steven Rostedt
2008-11-16 22:55 ` [PATCH 0/7] Porting dynmaic ftrace to PowerPC Paul Mackerras
2008-11-17 15:42 ` Steven Rostedt
2008-11-17 20:03 ` Steven Rostedt
2008-11-18 13:56 ` Steven Rostedt
2008-11-19 2:38 ` Paul Mackerras
2008-11-19 3:04 ` Steven Rostedt
2008-11-19 9:27 ` Ingo Molnar
2008-11-19 10:38 ` Paul Mackerras
2008-11-19 10:57 ` Ingo Molnar [this message]
2008-11-19 11:35 ` Paul Mackerras
2008-11-19 12:10 ` Steven Rostedt
2008-11-19 12:15 ` Steven Rostedt
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=20081119105719.GA21533@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=rostedt@goodmis.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;
as well as URLs for NNTP newsgroup(s).