Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7409264imu; Thu, 31 Jan 2019 09:36:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IZsltIqyCLvieCc0rZIeImkT95uSjo6gIIkhIE/C9LRPNGEkS2RIvJbLjER3b08uMfQ7HK1 X-Received: by 2002:a62:5007:: with SMTP id e7mr23354998pfb.92.1548956202084; Thu, 31 Jan 2019 09:36:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548956202; cv=none; d=google.com; s=arc-20160816; b=t0grmFbfLjCzCYR3uV8Yq2gPF6WVudTI3sx7fA9wXjyzztzlnXqRMcPeWa9C8HAmrn LETTAIy4quEicRXEmxk5XhEoWZtne5mHqrtwI6udrYwB24Utnk8d0h2ld2HvZu9poASM t1m/pVo8pjZWYXvrWVof5/zhPIXmcwxwtgLW3kSty2tVRJQVpul8KBucgkl33pi4McWp 8fsko3s3BArNrosmSxXt4/TL/JjxOlGQqll27W/d79zO7AWbM3VvGG8wcFSHGab0UN/Y NUgnv1bx1lhEuKNz7tAuGWBMacsu+JolXLoGRRstjE6JNQmetYETd7+oTMSQsffM4rZO EJ4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lxUjIude4DryYGOkqCxrlRmmZTEKGKmqvEfBEF+pJiw=; b=fMCAlwQsCPpb4PmygOnTmSC/U9grdFJcI0m3M6uv2ayl85GN3uaHrGK7ihKcLXwTJX YAzjEtN7qf2rPen1g2CXCYHtCabnpgqDlrDLdeOTV2scY9F523Rt0D1hixuv0Xd9Ab+1 pB+/IzIuUIiAVqJq57pdExyORSu4wue89DQ2zz+to6m9u5GE/F3iyNKpMuIjzQjFOR6Z cdYqD/ZByNo7QsK3fH3hTVasIG0QETsFUvDO/Ui9JTpJmh7zsB9ohGRDHNWPeBmvT/u1 zL/rm+E6k3Cb2LR13W0Tf800eu11Q2Ty+FEgNRBIt+wsNSOXyDWUH1amB5zra20mrUz2 iiIQ== 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 n4si4848802pgm.487.2019.01.31.09.36.26; Thu, 31 Jan 2019 09:36:41 -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 S1732795AbfAaRHA (ORCPT + 99 others); Thu, 31 Jan 2019 12:07:00 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:49973 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727788AbfAaRHA (ORCPT ); Thu, 31 Jan 2019 12:07:00 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1gpFni-0002uK-I7; Thu, 31 Jan 2019 18:06:54 +0100 Date: Thu, 31 Jan 2019 18:06:53 +0100 From: Sebastian Sewior To: Heiko Carstens Cc: Thomas Gleixner , "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 Message-ID: <20190131170653.spnrxsiblkssleyd@linutronix.de> References: <20190130132420.spwrq2d4oxeydk5s@linutronix.de> <20190130210733.mg6aascw2gzl3oqz@linutronix.de> <20190130233557.GA4240@linux.ibm.com> <20190131165228.GA32680@osiris> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190131165228.GA32680@osiris> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Sebastian