From: David Woodhouse <dwmw2@infradead.org>
To: Hannes Reinecke <hare@suse.com>,
ksummit-discuss@lists.linuxfoundation.org
Cc: theodore.tso@gmail.com
Subject: Re: [Ksummit-discuss] Late KS topics
Date: Mon, 26 Oct 2015 23:49:42 +0900 [thread overview]
Message-ID: <1445870982.3405.54.camel@infradead.org> (raw)
In-Reply-To: <562E37D7.9080105@suse.com>
[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]
On Mon, 2015-10-26 at 15:25 +0100, Hannes Reinecke wrote:
>
>
> The other topic is a rather short one, which possibly could be move
> to
> a lightning talk:
> - printk usecases
> Currently, printk is used for two largely different usecases:
> 1) Really urgent, 'ship me out at any cost now' messages
> and
> 2) Rather longish, 'and incidentally I always wanted to tell
> you what I did on my recent holidays' type of logging entries.
> As it so happens, this really makes it hard to do any improvements
> for printk as it inevitably messes up one or the other side.
> (This whole idea came up as we've had some instances which simply
> could not boot as the serial console took too long to print out
> all the stuff, so systemd timeout kicked in and killed the udev
> process which should have handled the boot device.)
> The talk/proposal should be used to come to a consensus about
> restricting printk() to high-priority, small volume messages,
> and implement a different call (like log_printk()) for the
> low-priority, high-volume traffic.
Currently, the former doesn't work. As lamented recently, there's no
synchronous printk even over serial console any more. It's lossy, and
you can't even do the traditional printk debugging any more with
printk(); is_this_the_bit_that_kills_the_machine(); printk();
because the first printk might not be *seen* before the machine dies.
--
dwmw2
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5691 bytes --]
next prev parent reply other threads:[~2015-10-26 14:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 14:25 Hannes Reinecke
2015-10-26 14:49 ` David Woodhouse [this message]
2015-10-26 14:51 ` Jiri Kosina
2015-10-27 23:53 ` Sergey Senozhatsky
2015-10-26 16:14 ` Luck, Tony
2015-10-27 0:23 ` Hannes Reinecke
2015-10-27 0:12 ` Mark Brown
[not found] ` <20151027005950.GA26445@localhost>
2015-10-27 1:39 ` [Ksummit-discuss] Deferred probing Mark Brown
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=1445870982.3405.54.camel@infradead.org \
--to=dwmw2@infradead.org \
--cc=hare@suse.com \
--cc=ksummit-discuss@lists.linuxfoundation.org \
--cc=theodore.tso@gmail.com \
/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