From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
To: Joe Perches <joe@perches.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Jiri Kosina <jikos@kernel.org>, Theodore Tso <tytso@mit.edu>,
Hannes Reinecke <hare@suse.de>, Jan Kara <jack@suse.com>,
Petr Mladek <pmladek@suse.com>,
linux-kernel@vger.kernel.org
Subject: Re: printk considered harmful (was: [TECH TOPIC] asynchronous printk)
Date: Fri, 4 Nov 2016 02:31:53 +0900 [thread overview]
Message-ID: <20161103173153.GA423@swordfish> (raw)
In-Reply-To: <1478106396.23018.51.camel@perches.com>
[Cc linux-kernel]
Hello,
On (11/02/16 10:06), Joe Perches wrote:
> Hello all.
>
> Can you please post notes for whatever is proposed here somewhere?
we covered 4 topics:
#1 deadlocks and recursion in printk
discussion outcome:
I published an updated printk_safe patch last week (addresses recursion
problems in printk). there was no strong opposition, and we agreed
that per-cpu buffers can help us out.
discussion outcome:
we agreed that deadlocks in printk must be addressed via printk
indirection. basically printk() will behave the same way as
printk_deferred() and, thus, we can, at some point, remove
printk_deferred().
#2 async printk
discussion outcome:
we agreed to offload printing duty to a special printk kthread.
#3 pr_cont
discussion outcome:
out of "problems" list. no work will be done in this area.
#4 console semaphore
discussion outcome:
we agreed that we can do better here and that it makes sense to do
what's been proposed in my slides. but, I keep it as a low priority.
frankly. I'd be happy to see #1-#3 in the mainline in 9-12 months.
not because it's such an enormesoly hard thing to do, but because we
probably would want to introduce those changes iteratively, in
different releases.
p.s.
I uploaded "some sort" of slides to
http://www.slideshare.net/SergeySENOZHATSKY/printk-considered-harmful
-ss
next parent reply other threads:[~2016-11-03 17:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1478106396.23018.51.camel@perches.com>
2016-11-03 17:31 ` Sergey Senozhatsky [this message]
2016-11-03 18:01 ` printk considered harmful (was: [TECH TOPIC] asynchronous printk) Sergey Senozhatsky
2016-11-03 23:28 ` Jan Kara
2016-11-04 16:07 ` Sergey Senozhatsky
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=20161103173153.GA423@swordfish \
--to=sergey.senozhatsky@gmail.com \
--cc=hare@suse.de \
--cc=jack@suse.com \
--cc=jikos@kernel.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pmladek@suse.com \
--cc=tytso@mit.edu \
/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).