From: Ingo Molnar <mingo@elte.hu>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
Steven Rostedt <rostedt@goodmis.org>,
linux-kernel@vger.kernel.org,
Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: [PATCH 5/5] ring-buffer: fix printk output
Date: Wed, 29 Apr 2009 09:22:08 +0200 [thread overview]
Message-ID: <20090429072208.GA22129@elte.hu> (raw)
In-Reply-To: <20090428232000.6c3d4ce1.akpm@linux-foundation.org>
* Andrew Morton <akpm@linux-foundation.org> wrote:
> On Wed, 29 Apr 2009 08:09:55 +0200 Ingo Molnar <mingo@elte.hu> wrote:
>
> >
> > * Andrew Morton <akpm@linux-foundation.org> wrote:
> >
> > > On Wed, 29 Apr 2009 07:43:59 +0200 Ingo Molnar <mingo@elte.hu> wrote:
> > >
> > > >
> > > > * Andrew Morton <akpm@linux-foundation.org> wrote:
> > > >
> > > > > On Wed, 29 Apr 2009 00:48:19 -0400 Steven Rostedt <rostedt@goodmis.org> wrote:
> > > > >
> > > > > > - printk_once(KERN_WARNING "Tracing recursion: depth[%d]:"
> > > > > > + printk_once(KERN_WARNING "Tracing recursion: depth[%ld]:"
> > > > >
> > > > > hrmph. I didn't know that printk_once() existed, and I should
> > > > > have known. I wonder how many other people don't know.
> > > >
> > > > Was posted to linux-next@vger.kernel.org.
> > >
> > > Well no wonder I didn't know about it.
> >
> > I (too?) think it's counter-productive that the linux-next list is
> > split out of lkml. I constantly fall into that trap: i get a
> > bugreport against one of our trees, i see that there's vger in the
> > Cc: list and mistake it for being Cc:-ed to lkml (all our trees are
> > developed on lkml and most of the bugreports come Cc:-ed to lkml)
> > but in reality it's Cc:-ed to linux-next which has a much smaller
> > audience. (which audience apparently does not even include you)
> >
> > If this email list fragmentation and the resoluting loss of
> > information bothers you too then please ask Stephen to move
> > linux-next mails to lkml (i've Cc:-ed Stephen) - it's not like it's
> > actually something separate ... today's linux-next messages are
> > tomorrow's lkml messages. Moving linux-next mails to lkml would
> > nicely improve the S/N ratio on lkml.
> >
>
> eh. Just auto-add lkml to tipbot-commit emails?
Yeah - the tip-commits-bot already has such a feature and we are
making use of it - but this commit predates it. So it was posted to
linux-next and the tip-commits list.
My larger point remains, about possibly embedding linux-next into
lkml. I couldnt think of a single linux-next mail that isnt relevant
to lkml. It's all about commits that are destined for upstream in
0-2.5 months.
> printk_once() is racy on smp and preempt btw ;)
Like WARN_ONCE() and WARN_ON_ONCE(). It's really an "oh crap"
facility, not for normal kernel messages.
Do we want to complicate them with locking and preemption - or
should we just concentrate on getting the "oh crap" message out to
the syslog (before it's possibly too late to get anything out)?
I have no strong opinion about it - but i tend to like the simpler
method most. printk + stack dumps themselves arent atomic to begin
with.
Ingo
next prev parent reply other threads:[~2009-04-29 7:22 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-29 4:48 [PATCH 0/5] [GIT PULL] tracing/splice/ringbuffer: updates for tip Steven Rostedt
2009-04-29 4:48 ` [PATCH 1/5] tracing: convert ftrace_dump spinlocks to raw Steven Rostedt
2009-04-29 5:07 ` Andrew Morton
2009-04-29 5:55 ` Ingo Molnar
2009-04-29 4:48 ` [PATCH 2/5] tracing: fix ref count in splice pages Steven Rostedt
2009-04-29 4:48 ` [PATCH 3/5] tracing: only add splice page if entries exist Steven Rostedt
2009-04-29 4:48 ` [PATCH 4/5] tracing: have splice only copy full pages Steven Rostedt
2009-04-29 4:48 ` [PATCH 5/5] ring-buffer: fix printk output Steven Rostedt
2009-04-29 5:20 ` Andrew Morton
2009-04-29 5:43 ` Ingo Molnar
2009-04-29 5:55 ` Andrew Morton
2009-04-29 6:09 ` Ingo Molnar
2009-04-29 6:20 ` Andrew Morton
2009-04-29 7:22 ` Ingo Molnar [this message]
2009-04-29 7:41 ` Andrew Morton
2009-04-29 9:56 ` Ingo Molnar
2009-04-29 15:09 ` Andrew Morton
2009-04-29 19:45 ` Ingo Molnar
2009-04-29 19:52 ` Andrew Morton
2009-04-29 20:11 ` Ingo Molnar
2009-04-29 16:19 ` Valdis.Kletnieks
2009-04-29 20:15 ` Ingo Molnar
2009-04-29 6:03 ` [PATCH 0/5] [GIT PULL] tracing/splice/ringbuffer: updates for tip 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=20090429072208.GA22129@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=sfr@canb.auug.org.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.