mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Laight <David.Laight@ACULAB.COM>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Peter Zijlstra" <peterz@infradead.org>
Subject: Repeated 'watchdog soft lockup' messages
Date: Thu, 12 Nov 2020 10:50:24 +0000	[thread overview]
Message-ID: <4e624f005f3744eb82adfa1e5ef0d683@AcuMS.aculab.com> (raw)

Due to a coding fubar (in my own driver) I managed to sleep
a process that held a spinlock.
Unluckily all 8 cpus ended up trying to acquire the spinlock
before the process woke.
As might be expected the system froze.

I'd got a serial console connected so could see the kernel messages.
It was almost continuously generating output saying that each
cpu was 'stuck for 22s!' (sometimes 23s).

What I don't understand is what was resetting the watchdog
so that I got multiple messages for each cpu at intervals
of (typically) 28 seconds.

The watchdog code seems to only output the trace once.
But that clearly wasn't working.
Any idea why?

kernel is 5.9.0

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


                 reply	other threads:[~2020-11-12 10:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4e624f005f3744eb82adfa1e5ef0d683@AcuMS.aculab.com \
    --to=david.laight@aculab.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.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