Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp406561pxb; Fri, 15 Apr 2022 02:20:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwngE+4waWVdrlA3Fyifmv9OVHcluQyqXr61hjxalnjXVmMK5WYsCAJaALpRdmWDC1oARut X-Received: by 2002:a17:906:6a0f:b0:6e8:b593:4845 with SMTP id qw15-20020a1709066a0f00b006e8b5934845mr5438104ejc.527.1650014447304; Fri, 15 Apr 2022 02:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650014447; cv=none; d=google.com; s=arc-20160816; b=shb5GUq7DnnDsl11jQJxWTJOEPSpYo3Rek47Y144kX3TOj7bEUhzorzSJSXFsmRZw8 dr6WpyUmcdO0tTDGjokW45bIRbtyFiXRM/8Qe+fo/85LLJyuSBt6FKBIboIGc6tRFJma fvo8DizdnTlducx76VLlhu8nUURflVNDPfsKqU4oIXo2V2TOyVWeuD0GkqwZ2EZYFykd aX92nVtX2w+raXEOsxJgIE8hoUE6FwUh+2AhdXd+adrOHTMF1autW8CvItEax5iywyM9 Rvfo3fEvhQx6SMXIWfEXUeihcbiYeLBORbbzDYhvR75wQ3d4jHMTwpGhYdYBdG7A2+SV 5nAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hqb8ahm9U2hYtvVT/EdGYzU5Sa+emRCVx8fikQB261Q=; b=AYF8YMvlDxLDevlQRPW6Zpbxu1lE+RJ3Vp0UaH+I7T2uZfNfwKFJa7HHaSXevMOsVs c2BbaOvR3LJVHcOhQfG31e2lcr3cZLoSJAFa1xbYx+T1n3ouWiKynUofxvdj3hVZRSUR qU+heWQslIo7orj+3yAxok+zZG4+3Z5jXXJ12WxlGn40UIUygue/jb5GLlqGUy59qlmJ gPnpGuoiyCspN0wCv8OcBrSv+P8a9d5B5ZbLLK6RryhESr+zbno0UgGTXAx7ay2hbAMa Eh05fygc2vPnkXOKY39B9UeKK/7FEsIiILNzk8TFGrYemM/+stCMPNj3Jx9+imeTS+Hq UDkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GGujEJKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g2-20020a1709061c8200b006df76385d68si709213ejh.520.2022.04.15.02.20.21; Fri, 15 Apr 2022 02:20:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GGujEJKk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245354AbiDNQHx (ORCPT + 99 others); Thu, 14 Apr 2022 12:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353451AbiDNP5r (ORCPT ); Thu, 14 Apr 2022 11:57:47 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A1E419D4D6 for ; Thu, 14 Apr 2022 08:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649951081; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hqb8ahm9U2hYtvVT/EdGYzU5Sa+emRCVx8fikQB261Q=; b=GGujEJKkePaVoE2cN/qRZgAfK0ijweM0Pfgqt+kiruZNRjbeGamRFRiVg0qgjBkG31re8M 5qMT7CQD4r4q4SgLsvchOAToyYvJjK9moMQsh6Qc/8a2uUe6RNJ1sSQB+LyphY+VvU7FQ4 wJR0XHR8qED0arlyj1mCE6GIWrmWL1k= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-266-mZHH7mEjN7exuZKavSJfmQ-1; Thu, 14 Apr 2022 11:44:35 -0400 X-MC-Unique: mZHH7mEjN7exuZKavSJfmQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C28011014A7A; Thu, 14 Apr 2022 15:44:34 +0000 (UTC) Received: from [10.22.19.30] (unknown [10.22.19.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id AF5E1111D3D1; Thu, 14 Apr 2022 15:44:33 +0000 (UTC) Message-ID: Date: Thu, 14 Apr 2022 11:44:33 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v5] locking/rwsem: Make handoff bit handling more consistent Content-Language: en-US To: Greg KH Cc: john.p.donnelly@oracle.com, chenguanyou , dave@stgolabs.net, hdanton@sina.com, linux-kernel@vger.kernel.org, mazhenhua@xiaomi.com, mingo@redhat.com, peterz@infradead.org, quic_aiquny@quicinc.com, will@kernel.org, sashal@kernel.org, stable@vger.kernel.org References: <20211116012912.723980-1-longman@redhat.com> <20220214154741.12399-1-chenguanyou@xiaomi.com> <3f02975c-1a9d-be20-32cf-f1d8e3dfafcc@oracle.com> <31178c33-e25c-c3e8-35e2-776b5211200c@oracle.com> <161c2e25-3d26-4dd7-d378-d1741f7bcca8@redhat.com> <2b6ed542-b3e0-1a87-33ac-d52fc0e0339c@oracle.com> From: Waiman Long In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/14/22 11:42, Greg KH wrote: > On Thu, Apr 14, 2022 at 11:18:23AM -0400, Waiman Long wrote: >> On 4/14/22 06:48, Greg KH wrote: >>> On Tue, Apr 12, 2022 at 01:04:05PM -0400, Waiman Long wrote: >>>> The patch has already been in the tip tree. It may not be easy to add a >>>> Fixes tag to it. Anyway, I will encourage stable tree maintainer to take it >>>> as it does fix a problem as shown in your test. >>> I have no idea what you want me to do here. Please be explicit... >>> >> I would like the stable trees to include commit 1ee326196c66 >> ("locking/rwsem: Always try to wake waiters in out_nolock path") after it is >> merged into the mainline in the v5.19 merge window. It should be applied to >> the stable trees that have incorporated the backport of commit d257cc8cb8d5 >> ("locking/rwsem: Make handoff bit handling more consistent") since this >> commit seems to make the missed wakeup problem easier to show up. > Please let us know when this is merged into Linus's tree. Nothing we > can do until then and I'm not going to remember this in a few months > anyway. Sure, I will remind you again after the merge happens. Cheers, Longman