ksummit.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: Jan Kara <jack@suse.cz>
Cc: ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] [TECH TOPIC] Printk softlockups
Date: Fri, 16 May 2014 00:20:14 +0200 (CEST)	[thread overview]
Message-ID: <alpine.LNX.2.00.1405160014490.16459@pobox.suse.cz> (raw)
In-Reply-To: <20140515211455.GA9632@quack.suse.cz>

On Thu, 15 May 2014, Jan Kara wrote:

[ ... snip ... ]
> So I would really like as much involved people as possible to sit down in
> one room and think over what guarantees do we want from printk, which
> complexity is acceptable, and hopefully we can agree on a way accepted by
> all parties to resolve the issue.
> 
> People involved in the discussion:
> Jan Kara <jack@suse.cz>
> Andrew Morton <akpm@linux-foundation.org>
> Steven Rosted <rostedt@goodmis.org>
> Alan Cox <gnomes@lxorguk.ukuu.org.uk>

Yes, this story is indeed frustrating.

What is worse, printk() needs even more surgery so that it really doesn't 
lockup the machines 'super-hard' when called from NMI context.

We've spent a non-trivial amount of time in fixing this [1]. It might be a 
natural followup to the discussion you are proposing, as we are basically 
making printk() even more compilcated with that patchset ... but for a 
good reason as well.

Currently, pritnk() is able (and we've seen in happening) to just 
completely lock up the machine with all processess stuck in NMI context, 
which is rather undebuggable, so we better have it fixed. But yes, 
admittedly, it makes printk() code yet more complex, which might cause 
headache to people who are already afraid of your patchset.

[1] https://lkml.org/lkml/2014/5/9/118

-- 
Jiri Kosina
SUSE Labs

      parent reply	other threads:[~2014-05-15 22:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15 21:14 Jan Kara
2014-05-15 21:44 ` josh
2014-05-15 22:20 ` Jiri Kosina [this message]

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=alpine.LNX.2.00.1405160014490.16459@pobox.suse.cz \
    --to=jkosina@suse.cz \
    --cc=jack@suse.cz \
    --cc=ksummit-discuss@lists.linuxfoundation.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