Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2205774pxb; Sat, 7 Nov 2020 13:10:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9zE5HnL5wiiphFIyKJYfWAeas0vxcySbjsF3dRdUoFkIuwsRJpcG3A30gXHIOcZFA+zbg X-Received: by 2002:a17:906:158e:: with SMTP id k14mr7973583ejd.496.1604783448068; Sat, 07 Nov 2020 13:10:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604783448; cv=none; d=google.com; s=arc-20160816; b=ewyo57cOKCDTbMzivUrwcIjpi/QEIqlCcyTy020JwB1eq1FR1flgfUlX/z40Y3whkq HBf/X7DyJSTN6/4LrOOWxjkYbLDPdK7aEeewRnhNi11lCg8c3M374U0CscB/XiRcY9yD Fj1nmoUtAdoynyL7FdMrTNvJHTWyrPfzWiFE412oSNgD2JIlCZl+q8Q9MtzJDTA1qVjg HEkIKqCfJ8L3Tl+2JWCEuWF1VbzbE26zhzUywt1rhz/vaLg930tV7TT3fczzszMu4IVo EkCYKDMZKSbPkUTLEfOHKCqwHC0M5JaReEVui56c8eCB/5CNvSUHoC/EvMSQUpC6pe1C yIYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=fk5ZOrseEUy+A30Zeu99trnULtaUnQJULQgT+zZZMWM=; b=0++1yiURUWR0mvDMCQz0z8f3yh6wwg1+6vJ19WH1EhvR3w9EGvctJzb0praGoR8+Q4 1kAXH6VaNgHo1yg1YUwhls7JQJzwN0JU+5doBJvPcPwZKH7AHJosJ7gza6TgYsnbs7Ms 9nV7neNOXFdcBOdltdaT6/GzZoHPuW1MMJ3oGVRMpwQZROAn2940xLJ1vBTqhaxvhum9 3kPq2T8Pi0ECY8wV1v6Uaqo+kpYV8dbU+yaSTr8XkPTpQqxnMZ3ErCGJ8xI4ONp+Rhvi 19i47gI08Nym3gMv4FQQVMCe3TMZbB8OJtkJQebm2cRb7DGNGLaE0TzlEYeJbpXEhatD 2ibQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pzo8PcXv; dkim=neutral (no key) header.i=@linutronix.de header.b=iQmPdwis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w10si4488110ejv.268.2020.11.07.13.10.10; Sat, 07 Nov 2020 13:10:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pzo8PcXv; dkim=neutral (no key) header.i=@linutronix.de header.b=iQmPdwis; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727871AbgKGVH5 (ORCPT + 99 others); Sat, 7 Nov 2020 16:07:57 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:43138 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgKGVH5 (ORCPT ); Sat, 7 Nov 2020 16:07:57 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1604783275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fk5ZOrseEUy+A30Zeu99trnULtaUnQJULQgT+zZZMWM=; b=pzo8PcXvp8nZ81cdKAWqC4Mqj5RzIBMkapXrcBj6Z4eDybWgChvT7DQKz9HQYJzIbmG5E7 fbQo7+W8CG3YgtRoKWbKkyRD7h43TLnOsgOxgR+a9MTUaRD8UpRw/siK/xCDXgbLe1NRJs 8E2uqUrkcx9m1LCRWqyZwEEaVdNH1k8kOI1pecNhNbjoHofElFTNC9p8TpDbg0iMA83hos 4qX+m6wP20p6TfdMc9b40SUk6aWxz4DX1jg+A6ISAU1AHFIFi8WGi5I0I25sEQGy5+gYnH iSzfyfq0AevSi59xxhJ3vzjyWJahAQLC+3uhCOGtngk0iI+N2GkUCZ1EB/08cg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1604783275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fk5ZOrseEUy+A30Zeu99trnULtaUnQJULQgT+zZZMWM=; b=iQmPdwis43i6WfpNQfGlriGjdENjY/HuSeyflZ21H3p1PSAAnsB0ZzGst+EcXWcMOVWcoR bxcG152NqoKccKAA== To: Mike Galbraith , linux-kernel@vger.kernel.org, linux-tip-commits@vger.kernel.org Cc: Gratian Crisan , stable@vger.kernel.org, x86 Subject: Re: [tip: locking/urgent] futex: Handle transient "ownerless" rtmutex state correctly In-Reply-To: References: <87a6w6x7bb.fsf@ni.com> <160469801844.397.7418241151599681987.tip-bot2@tip-bot2> Date: Sat, 07 Nov 2020 22:07:54 +0100 Message-ID: <87v9egkh91.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 07 2020 at 18:05, Mike Galbraith wrote: > On Fri, 2020-11-06 at 21:26 +0000, tip-bot2 for Mike Galbraith wrote: >> + if (unlikely(!newowner)) { >> + ret = -EAGAIN; > ^^^ > > My box just discovered an unnoticed typo. That 'ret' should read 'err' > so we goto retry, else fbomb_v2 proggy will trigger gripeage. Bah. I noticed and wanted to fix it before committing and then forgot. Fixed now.