Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1237274

Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard lockup

From Aaron Tomlin <atomlin@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard lockup
Date 2015-10-01 13:10 +0200
Message-ID <qeJUm-2dw-15@gated-at.bofh.it> (permalink)
References <qczcK-88V-21@gated-at.bofh.it> <qeGD7-5vh-15@gated-at.bofh.it> <qeGMP-5IY-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 2015-10-01 09:45 +0200, Jiri Kosina wrote:
> That should be fine. Worst case scenario is hardlockup and softlockup 
> trigerring 'in parallel' on different CPUs, and all-cpu backtrace being 
> triggered twice.
> 
> Frankly, I've never seen this happen in practice (hardlockup and 
> softlockup triggering at different CPUs at the very same time).
> 
> We could possibly make a global 'all_cpus_dump_in_progress' flag so that 
> we guarantee only one stream of dumps, but we'd need to convert everybody 
> using this facility (e.g. RCU stall detector, and whoever else) to be 
> aware of it as well, otherwise it wouldn't make too much sense.
> 
> Something to add to TODO I guess.

This could indeed be worth further investigation.


-- 
Aaron Tomlin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] watchdog: perform all-CPU backtrace in case of hard lockup Jiri Kosina <jikos@kernel.org> - 2015-09-25 13:20 +0200
  Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard  lockup Don Zickus <dzickus@redhat.com> - 2015-09-25 16:50 +0200
  Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard  lockup Aaron Tomlin <atomlin@redhat.com> - 2015-10-01 09:40 +0200
    Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard  lockup Jiri Kosina <jikos@kernel.org> - 2015-10-01 09:50 +0200
      Re: [PATCH] watchdog: perform all-CPU backtrace in case of hard  lockup Aaron Tomlin <atomlin@redhat.com> - 2015-10-01 13:10 +0200

csiph-web