Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2406482pxb; Tue, 23 Feb 2021 06:27:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyb2HCtRXQyyLnqCNJJb8cS5ptvSrBkuhzdFpYWWzb4Z4iN+U64VQ6T6dkwjeiOf7jCaOmh X-Received: by 2002:aa7:dd0d:: with SMTP id i13mr27379766edv.132.1614090459810; Tue, 23 Feb 2021 06:27:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614090459; cv=none; d=google.com; s=arc-20160816; b=qKBUz9vLJpSTDzW3wLFh67QAmAbKwIH0Xnq6HiHzt9TfSq6DNXBli4t2dI6igih49e Ca8Vbey5LfvnueFMwcXdioblV6BuFP4o/ah4zm5/0qM9erSZBwWKPtJMbQNtCulKw7Oe E4Lqjefu0kZYbriubzsOs7P9YgFs1PSen1BizySKw4L7JZhH2pBbsnLTXMXOl+JQN86Y p337V+Dml0CM0K/5qV1++vzDwrAvrt/QOv9/oconJAOh1vAqQPhuc3EFUs/uXnBUTUJ/ E665TVZibhwRymvzGTFhuOlLZWIUz9wfk3HeWkFjl+EnQxbFYH0k1rURwT1KAuqhxzWq xURg== 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=HLcLMygLWMBHSkpw6GS2Ap/WEMdmBy9PChzK/yKrVZg=; b=DoO/nQTDckP8bHr4cI8OOFGu85l7/JhcdNDDihCE7KM+Ix5YHSHBhtYRIGCMvbvwoZ uBfG4x3kRM1T8uBsQbad9CDy73pHwKZGxQ1ON44pgc63BZWTR+6aBShwDaT3K0+l9jNm YBS7+DhYMJQJY9uGgZN+mNjUwiQJp7xGGKnqI+9hC/gwdVsksfCMYkoe4z+XBhzLdmlm n2l+7DmAbK8yoY89Ixu8a7GErvY/cq95kmN7YPF/Rtz+uOPbFKj3/oDjuhzgmx7CSYq+ 25HUlZVeHuOum67j15NowTqCqovrAT4hYioGOYIUTsZnwSZa+5RLoRcvopdK8dYnv4Nt XSfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="th6Qu/n2"; 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 de55si14000011ejc.693.2021.02.23.06.27.16; Tue, 23 Feb 2021 06:27:39 -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="th6Qu/n2"; 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 S232845AbhBWNDw (ORCPT + 99 others); Tue, 23 Feb 2021 08:03:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:48200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232628AbhBWNBV (ORCPT ); Tue, 23 Feb 2021 08:01:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6EEB764DDC; Tue, 23 Feb 2021 13:00:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614085241; bh=jvQBh1cg6VWyXfOI5dlSbRLSK0idsVo3C3s1i6qN+b4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=th6Qu/n21YW2qGUQgC7y3pF+RRr6QmLocnhZYavIph+Vg4DC0J4jESBbZoOtzhWX0 kNn4mnHMwAjTce96bTFJa1F/ZewNrAjKjvIh7Zih7CYUUnbU/ms/rWQ3PjRsE+hwgZ RydQdTQx+ZeDQByxfm0OiBkEMIqcAuh7nxX93GUs= Date: Tue, 23 Feb 2021 14:00:38 +0100 From: Greg KH To: "Zhengyejian (Zetta)" Cc: Lee Jones , 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> <4f06340a-e027-f944-3248-2939639d5e07@huawei.com> <42af110f-f492-c11c-397c-e0b5018d9263@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42af110f-f492-c11c-397c-e0b5018d9263@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 22, 2021 at 09:11:43PM +0800, Zhengyejian (Zetta) wrote: > > > On 2021/2/22 20:36, Greg KH wrote: > > On Mon, Feb 22, 2021 at 08:20:38PM +0800, Zhengyejian (Zetta) wrote: > > > > > > > > > On 2021/2/22 20:07, Greg KH wrote: > > > > 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 > > > > . > > > > > > > I make the patch basing on 282aeb477a10 ("Linux 4.9.257"). > > > Should I base on f0cf73f13b39 ("Linux 4.9.258-rc1")? > > > > Yes please as I think this is already there. > > > > How about just waiting for the next release to come out, I will push out > > the 4.4 and 4.9 -rc releases right now as well to give everyone a chance > > to sync up properly. > Ok, I will rebase this patch then. Great, can you try 4.9.258? thanks, greg k-h