From: Peter Zijlstra <peterz@infradead.org>
To: Waiman Long <longman@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
Linus Torvalds <torvalds@linux-foundation.org>,
Andrew Morton <akpm@linux-foundation.org>,
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] locking/spinlock_debug: Remove spinlock lockup detection code
Date: Thu, 9 Feb 2017 16:46:17 +0100 [thread overview]
Message-ID: <20170209154617.GE6515@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1486583208-11038-1-git-send-email-longman@redhat.com>
On Wed, Feb 08, 2017 at 02:46:48PM -0500, Waiman Long wrote:
> The current spinlock lockup detection code can sometimes produce false
> positives because of the unfairness of the locking algorithm itself.
Also, __delay(1) can be really terrible, which then causes the timeout
to be highly variable and prone to triggering.
> So the lockup detection code is now removed. Instead, we are relying
> on the NMI watchdog to detect potential lockup. We won't have lockup
> detection if the watchdog isn't running.
>
> The commented-out read-write lock lockup detection code are also
> removed.
Yes, this retains all the extra validation fields, which I've meanwhile
heard are sometimes useful but does away with all the fragile bits.
Thanks!
prev parent reply other threads:[~2017-02-09 15:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-08 19:46 Waiman Long
2017-02-09 15:46 ` Peter Zijlstra [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=20170209154617.GE6515@twins.programming.kicks-ass.net \
--to=peterz@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=mingo@redhat.com \
--cc=paulmck@linux.vnet.ibm.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®