linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [bug report] locking/qrwlock, arm64: Move rwlock implementation over to qrwlocks causes CPU crashes/stalls when killing java processes
@ 2018-04-12 17:10 Tai Tri Nguyen
  2018-04-12 17:24 ` Will Deacon
  0 siblings, 1 reply; 5+ messages in thread
From: Tai Tri Nguyen @ 2018-04-12 17:10 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Will,

Recently I have observed the CPU crashes/stalls when rebooting after I
ran cassandra benchmark.
The issue happens randomly.

I could reproduce the issue easier by keep starting/killing cassandra
tests. The issue would occur within about 50 iterations.

I could also reproduce the issue by keep running/killing specjvm2008.
However it takes me much longer time to see the CPU crash/stall issue.

I bisected kernel and found that this changelist below is causing the issue.

commit 087133ac90763cd339b6b67f2998f87dcc136c52
Author: Will Deacon <will.deacon@arm.com>
Date:   Thu Oct 12 13:20:50 2017 +0100

    locking/qrwlock, arm64: Move rwlock implementation over to qrwlocks

    Now that the qrwlock can make use of WFE, remove our homebrewed rwlock
    code in favour of the generic queued implementation.

    Tested-by: Waiman Long <longman@redhat.com>
    Tested-by: Jeremy Linton <jeremy.linton@arm.com>
    Tested-by: Adam Wallis <awallis@codeaurora.org>
    Tested-by: Jan Glauber <jglauber@cavium.com>
    Signed-off-by: Will Deacon <will.deacon@arm.com>
    Acked-by: Peter Zijlstra <peterz@infradead.org>
    Cc: Jeremy.Linton at arm.com
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: boqun.feng at gmail.com
    Cc: linux-arm-kernel at lists.infradead.org
    Cc: paulmck at linux.vnet.ibm.com
    Link: http://lkml.kernel.org/r/1507810851-306-5-git-send-email-will.deacon at arm.com
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

Do you have any suggestion or thought how to debug it?

Thanks
-- 
Tai

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-26  8:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-12 17:10 [bug report] locking/qrwlock, arm64: Move rwlock implementation over to qrwlocks causes CPU crashes/stalls when killing java processes Tai Tri Nguyen
2018-04-12 17:24 ` Will Deacon
2018-04-12 17:49   ` Tai Tri Nguyen
2018-04-14  3:32     ` Tai Tri Nguyen
2018-04-26  8:33       ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).