Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1516005pxb; Mon, 22 Feb 2021 04:10:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2BV/xG9TBjJCYd3Gd83DZ4ydY6SUwTYGHr+Qhw0hm50m3mT/sjRVEo+NrY3hzi2OL2pVz X-Received: by 2002:a17:906:1ecc:: with SMTP id m12mr1715941ejj.4.1613995812163; Mon, 22 Feb 2021 04:10:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613995812; cv=none; d=google.com; s=arc-20160816; b=Xp0HJvf/0Mo+KT0qEoCcw4csC67G7wTv96JodM8+fTnOMVXG/OsbFNxkCDRBVbT3eh m1EtFdXQ9mY8OVQdFLY9P4RlBmceOXNkZivWCjW0X294OqCclAuFUPFlOROVY7VtT6Xz gve6+vGj343IyCkaYc9oUcJPKqi0olmgam+k5ziG7a4kLHYqoMjZHl0YfEZRAYZtqndy /C8VWcoB+Ztg5ZlWPc40gWQRXv+lO/9Zh89ZKhM30LgDGjIa4eSQC8CaxTmR4PwhVzJ2 L4vbH+8mPvl3vx/6wRp+auZDMVJC1tA0XX80HLtnYrer3pGINYxEXbgk70Je1RDC857I dSZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zv3iGIK0UqwUWRmXwE4pj9R+oAZrimK8dJAHS1TmG6Y=; b=tKXhHCqSMBXMFLqP7R21FhIEC33+ha2tfSF0Si1IfbCOcux9a7n8Of6+Va6CG0/MuS DU/t38RkVs98mPrqTxMFbO1GIdYf1Mq/XKf95WHwKByN7YwUChP/vxK51UHCmT0/0rrV vQZOsu7y8w6Hs3ooJH1uItyQWimumICdosJ7YMeKTQGmT9GFc7STqobhsVK2UfzW7KzE zPcA68VaBf76DgrBT1xJ9lu/qM8R87P7j7t1rkEaBIYepA0sNfhHyl1k4e4YRKg1B3cU q5jPpSv44TwSFeegUGszDntpvUk6aDUhOWu2R2U90xLQVEmkKTtw1PPGGm5jaiS5QlFn KJQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wUWWfqBr; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r22si332606edp.172.2021.02.22.04.09.49; Mon, 22 Feb 2021 04:10:12 -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=@linuxfoundation.org header.s=korg header.b=wUWWfqBr; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230218AbhBVMIJ (ORCPT + 99 others); Mon, 22 Feb 2021 07:08:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:43604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhBVMIA (ORCPT ); Mon, 22 Feb 2021 07:08:00 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68C7764E29; Mon, 22 Feb 2021 12:07:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1613995637; bh=WKGqyeJ+H1+pIiZMC/bmOLTI3fFkMlqK6Xvp3YQ9des=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wUWWfqBr5fMMlNA5GvUr75CKZkQTV7gqgZkju16Uj/TrKKG1ozDHvaNTK7Zx2xC9p n6jkaB+8RPqx8WMvw/3A471XFkqK/3nCCtnhPXFwWOW904AdQYW24C0tqZEDX6Jbqr y88NAKbAjA4/BLTPom0hxQk42cWWShU+b6cElzwk= Date: Mon, 22 Feb 2021 13:07:15 +0100 From: Greg KH To: Lee Jones Cc: Zheng Yejian , stable@vger.kernel.org, linux-kernel@vger.kernel.org, judy.chenhui@huawei.com, zhangjinhao2@huawei.com, tglx@linutronix.de Subject: Re: [PATCH 4.9.257 1/1] futex: Fix OWNER_DEAD fixup Message-ID: References: <20210222110542.3531596-1-zhengyejian1@huawei.com> <20210222110542.3531596-2-zhengyejian1@huawei.com> <20210222115424.GF376568@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210222115424.GF376568@dell> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 22, 2021 at 11:54:24AM +0000, Lee Jones wrote: > On Mon, 22 Feb 2021, Zheng Yejian wrote: > > > From: Peter Zijlstra > > > > commit a97cb0e7b3f4c6297fd857055ae8e895f402f501 upstream. > > > > Both Geert and DaveJ reported that the recent futex commit: > > > > c1e2f0eaf015 ("futex: Avoid violating the 10th rule of futex") > > > > introduced a problem with setting OWNER_DEAD. We set the bit on an > > uninitialized variable and then entirely optimize it away as a > > dead-store. > > > > Move the setting of the bit to where it is more useful. > > > > Reported-by: Geert Uytterhoeven > > Reported-by: Dave Jones > > Signed-off-by: Peter Zijlstra (Intel) > > Cc: Andrew Morton > > Cc: Linus Torvalds > > Cc: Paul E. McKenney > > Cc: Peter Zijlstra > > Cc: Thomas Gleixner > > Fixes: c1e2f0eaf015 ("futex: Avoid violating the 10th rule of futex") > > Link: http://lkml.kernel.org/r/20180122103947.GD2228@hirez.programming.kicks-ass.net > > Signed-off-by: Ingo Molnar > > Signed-off-by: Zheng Yejian > > --- > > kernel/futex.c | 7 +++---- > > 1 file changed, 3 insertions(+), 4 deletions(-) > > Reviewed-by: Lee Jones This does not apply to the 4.9.y tree at all right now, are you all sure you got the backport correct? confused, greg k-h