Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615AbdHBIoS (ORCPT ); Wed, 2 Aug 2017 04:44:18 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49924 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752362AbdHBIoR (ORCPT ); Wed, 2 Aug 2017 04:44:17 -0400 Subject: Re: rcu_sched stall while waiting in csd_lock_wait() To: Will Deacon , Pratyush Anand References: <20170802080827.GA15219@arm.com> Cc: linux-arm-kernel , open list , Peter Zijlstra , "Paul E. McKenney" , mark.rutland@arm.com From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Wed, 2 Aug 2017 09:44:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170802080827.GA15219@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 27 On 02/08/17 09:08, Will Deacon wrote: > Hi Pratyush, > > On Wed, Aug 02, 2017 at 09:01:19AM +0530, Pratyush Anand wrote: >> I am observing following rcu_sched stall while executing `perf record -a -- >> sleep 1` with one of the arm64 platform. It looks like that stalled cpu was >> waiting in csd_lock_wait() from where it never came out,and so the stall. >> Any help/pointer for further debugging would be very helpful. Problem also >> reproduced with 4.13.0-rc3. > > When you say "also", which other kernel(s) show the problem? Is this a > recent regression? Which platform are you running on? > > It would be interesting to know what the other CPUs are doing, in particular > the target of the cross-call. Either it crashed spectacularly and didn't > unlock the csd lock, or the IPI somehow wasn't delivered. > > Do you see any other splats if you enable lock debugging? Also, is that in a guest, or bare metal? If that's a guest, what's the host's kernel version? Thanks, M. -- Jazz is not dead. It just smells funny...