mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Lai Jiangshan <laijs@cn.fujitsu.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/5 v2] Binary ftrace_printk
Date: Fri, 6 Mar 2009 12:58:22 +0100	[thread overview]
Message-ID: <20090306115822.GB18798@elte.hu> (raw)
In-Reply-To: <20090306105217.GB5988@nowhere>


* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> On Thu, Mar 05, 2009 at 05:53:58AM +0100, Frederic Weisbecker wrote:
> > 
> > This new iteration addresses Steven's reviews.
> > Notably:
> > 
> > - only build the ftrace_printk format section if CONFIG_TRACING is set
> > - be scheduler tracing safe (don't use preempt_enable directly from
> >   ftrace_printk to avoid tracing recursion)
> > - fix a loss of format string when a module is unloaded. Since we can loose
> >   it on the ring-buffer if it is in overwrite mode, we don't keep track
> >   of the format given by the modules to free them. We just copy their
> >   ftrace_printk string format forever. Note that it is safe against duplicate
> >   strings since we verify if the string is already present in our list before
> >   allocating a new one.
> > 
> > ---
> 
> 
> tip:master has seen some changes concerning the tracing bits 
> since this patchset submission, notably the movement of 
> ftrace_printk to include/kernel.h
> 
> These patches probably won't anymore apply properly. Do you 
> want me to rebase them against latest tip/master?

Yeah, please do. (Would there be a way for you to submit via 
tools that preserve the email-threading of the patches? Right 
now your mails come in separate threads each.)

> Or perhaps you prefer to wait for a Acked-by from Linus or 
> Andrew?

The current lineup looks pretty good to me.

Patch #1 is what modifies lib/vsprintf.c and unless Linus or 
Andrew objects i plan to put that into tip:core/printk so that 
it's not embedded in the tracing tree and sent upstream 
separately.

Then i'll merge that branch into the tracing tree and apply 
patches #2...#5. So as long as you send against tip:master (i.e. 
against the latest tracing bits) i'll be able to sort it out 
neatly.

	Ingo

  reply	other threads:[~2009-03-06 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05  4:53 Frederic Weisbecker
2009-03-06 10:52 ` Frederic Weisbecker
2009-03-06 11:58   ` Ingo Molnar [this message]
2009-03-06 12:08     ` Frederic Weisbecker

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=20090306115822.GB18798@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=fweisbec@gmail.com \
    --cc=laijs@cn.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --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

all inboxes | Powered by JetHome®