mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@redhat.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: softlockup interaction with slow consoles
Date: Tue, 21 Feb 2006 04:09:58 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0602210404330.3092@devserv.devel.redhat.com> (raw)
In-Reply-To: <20060220.131847.25386315.davem@davemloft.net>


On Mon, 20 Feb 2006, David S. Miller wrote:

> When register_console() runs, it dumps the entire log buffer to the
> console device with interrupts off.
> 
> If you're going over a slow console, this can easily take more than 10
> seconds especially on SMP with many cpus brought up.
> 
> This makes the softlock fire, which is terribly annoying :-)
> 
> I think the bug is in the console registry code, I think it should
> capture chunks of the existing console buffer into some local memory and
> push things piece by piece with interrupts enabled to the console
> driver(s).
> 
> Any better ideas?

is this a boot-time-only problem? In recent updates to the softlockup 
code in -mm:

 timer-irq-driven-soft-watchdog-cleanups.patch
 timer-irq-driven-soft-watchdog-percpu-race-fix.patch
 timer-irq-driven-soft-watchdog-percpu-fix.patch
 timer-irq-driven-soft-watchdog-boot-fix.patch

i changed soft lockup detection to be turned off during bootup. That
should work around any boot-time warnings.

(if this can happen on a booted up system then the real fix would indeed
be to split up register_console()'s workload - that would also make it
more preemption-friendly. But at first sight it looks quite complex to
do.)

	Ingo

  reply	other threads:[~2006-02-21  9:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 21:18 David S. Miller
2006-02-21  9:09 ` Ingo Molnar [this message]
2006-02-21  9:16   ` David S. Miller
2006-02-21 13:49     ` Andi Kleen
2006-02-21 20:01       ` David S. Miller
2006-02-21 20:05         ` Andi Kleen
2006-02-21 20:19           ` David S. Miller
2006-02-21 20:27             ` Dave Jones
2006-02-21 20:50               ` David S. Miller
2006-02-21 20:43             ` Andi Kleen
2006-02-21 19:23     ` Matt Mackall
2006-02-21 19:58       ` David S. Miller

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=Pine.LNX.4.58.0602210404330.3092@devserv.devel.redhat.com \
    --to=mingo@redhat.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome