Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp966905ima; Fri, 1 Feb 2019 14:00:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN6+4SJEIwt/StZREFaiQn3wgdGi+G/JtcIIrfYSOxJdz1ELqwUfmXMZjQtgs7OrnOP0xiPo X-Received: by 2002:a17:902:9305:: with SMTP id bc5mr40869186plb.86.1549058421722; Fri, 01 Feb 2019 14:00:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549058421; cv=none; d=google.com; s=arc-20160816; b=CXBBnoYorglHYj9nvRONJiK5B7FcugiaVBMlsS6AWvQMTLlL6zxVXfv+0PQhaKI8Da i/MALULH1keqjnDcQOi4RekTlk3L20l1kcdhwCm4aCrVzbn18LsuBWoPM75ZsJOOG4xc LCRqrC22fRWT/xiGbtm/4/OwdjjnbvHeK2osCkKZiCBE12oFPnvGeMRkZvH03a3aPcbe bL17X/rs29eA3A58NeAcFX7SJTeHjtO+ZBQFb5uPNVYcZgjN7HQH3F8nRPaP6SMCe+Zk AUUIhrgxmUbBo69lcmziUnfpv/lqQPnFHVDhASLUNq8Jxzj5OU0mq2JbrZBFqwzVNV9i 5khQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=XBjeWhOV+886V8BXoqJ7H/hwezWRtoMN+y1xx+EDNF8=; b=xv16uBdVM8pYa4/8LBzokHqqkCrpaB6xYMvjlQSzgYGUzxy/8j/Bu7uEDQXaAufdmb e/vux2q+UAj12FhukD1zYTbNZEuPf2uHMcOBQq+9XfblVPz32+r8ZWg837TEsYAn9FGN XjzB4DUlhg53Bi/BP/nk0zWKkv7ZyzhXkjC4vzpjdpuvj+lR0hVoAmZl8L/WqT57+REQ 5TzMd5OrATtpdWWzy48QnCqaVDwUyy4WhfbT6S4Wdhg7bzXOeTFQ9R3UKhWKRny4NuFF jqT62M9yS3MLrW/vr31O7k8RkeVo/Q+6cX0SENOFSipTtyoY56xMBdhz1fVj+MBvw477 i8Qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12si8928026plc.0.2019.02.01.14.00.06; Fri, 01 Feb 2019 14:00:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726660AbfBAV7Q (ORCPT + 99 others); Fri, 1 Feb 2019 16:59:16 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:52360 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfBAV7P (ORCPT ); Fri, 1 Feb 2019 16:59:15 -0500 Received: from p5492e0d8.dip0.t-ipconnect.de ([84.146.224.216] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gpgq5-0007ej-FQ; Fri, 01 Feb 2019 22:59:09 +0100 Date: Fri, 1 Feb 2019 22:59:08 +0100 (CET) From: Thomas Gleixner To: Heiko Carstens cc: Sebastian Sewior , "Paul E. McKenney" , Peter Zijlstra , Ingo Molnar , Martin Schwidefsky , LKML , linux-s390@vger.kernel.org, Stefan Liebler Subject: Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggerede In-Reply-To: <20190201161227.GG3770@osiris> Message-ID: References: <20190130210733.mg6aascw2gzl3oqz@linutronix.de> <20190130233557.GA4240@linux.ibm.com> <20190131165228.GA32680@osiris> <20190131170653.spnrxsiblkssleyd@linutronix.de> <20190201161227.GG3770@osiris> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Feb 2019, Heiko Carstens wrote: > On Thu, Jan 31, 2019 at 06:06:53PM +0100, Sebastian Sewior wrote: > > On 2019-01-31 17:52:28 [+0100], Heiko Carstens wrote: > > > ...nevertheless Stefan and I looked through the lovely disassembly of > > > _pthread_mutex_lock_full() to verify if the compiler barriers are > > > actually doing what they are supposed to do. The generated code > > > however does look correct. > > > So, it must be something different. > > > > would it make sense to use one locking function instead all three (lock, > > try-lock, timed) in the test case to figure out if this is related to > > one of the locking function? > > I tried all three variants, but it seems to be close to impossible to > re-create then. I had a single fail when using only the trylock > variant, but I wouldn't say that means anything. > > Only if all three variants run in parallel it seems to be quite > reliably reproducible, even though sometimes it still takes an hour. Were you able to capture a trace with the last set of additional trace printks? Thanks, tglx