From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39B1EC43334 for ; Sat, 23 Jul 2022 01:27:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6B4736B0071; Fri, 22 Jul 2022 21:27:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 664026B0073; Fri, 22 Jul 2022 21:27:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 552266B0074; Fri, 22 Jul 2022 21:27:57 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 462D26B0071 for ; Fri, 22 Jul 2022 21:27:57 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 1CB1AA0DAB for ; Sat, 23 Jul 2022 01:27:57 +0000 (UTC) X-FDA: 79716628194.15.DB8B40E Received: from r3-21.sinamail.sina.com.cn (r3-21.sinamail.sina.com.cn [202.108.3.21]) by imf05.hostedemail.com (Postfix) with SMTP id A288110007F for ; Sat, 23 Jul 2022 01:27:54 +0000 (UTC) Received: from unknown (HELO localhost.localdomain)([114.249.59.48]) by sina.com (172.16.97.32) with ESMTP id 62DB4E7D0000D8C3; Sat, 23 Jul 2022 09:27:27 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com X-SMAIL-MID: 904011630120 From: Hillf Danton To: Hillf Danton Cc: Doug Anderson , Waiman Long , MM , Peter Zijlstra , Will Deacon , Davidlohr Bueso , Dmitry Vyukov , Eric Dumazet , Andrew Morton , LKML Subject: Re: [PATCH v5] locking/rwsem: Make handoff bit handling more consistent Date: Sat, 23 Jul 2022 09:27:38 +0800 Message-Id: <20220723012738.2212-1-hdanton@sina.com> In-Reply-To: <20220723001713.2156-1-hdanton@sina.com> References: <20211116012912.723980-1-longman@redhat.com> <20220719104104.1634-1-hdanton@sina.com> <20220722115510.2101-1-hdanton@sina.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658539676; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2tvK23lQmoZ/0uuCgIWRCtFlR+9soQLatkOQCz73wEY=; b=laM/ZdLxh6Mk+CsK+JSTFcLluL4C1XDLM1uz0MHySIdlqwNVI9wNg1psz4S1s3JY8Mib3g s7y6qtiRs70fKBPt1kKpIazE50NxJ7j57pGGsfsFvbKK5FjJ8gmYHFh3GSglWRROKwpeb4 A6dt9sWNM7+IrC1dYFP6mB3jANKIU0s= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=none; spf=pass (imf05.hostedemail.com: domain of hdanton@sina.com designates 202.108.3.21 as permitted sender) smtp.mailfrom=hdanton@sina.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658539676; a=rsa-sha256; cv=none; b=yByYYySxKTbsCY3WnrmETaQr/bsCaGHfc2gu3gS/qpmlQZPsJRvLVv7No7HS7LGA+gREbt +cEcALkI2+taeoXo+Fh1GlpJe1qFGizaFxgD2gqtWfzfvghtGhROjkuZlI4tchtbRf4AgX 9yMHLhj2/km7teO8H4C4sfuIWip8nV0= X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: A288110007F X-Stat-Signature: oemp1zeryrdkmj3xibdbpncfm9sbr11c X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=none; spf=pass (imf05.hostedemail.com: domain of hdanton@sina.com designates 202.108.3.21 as permitted sender) smtp.mailfrom=hdanton@sina.com; dmarc=none X-HE-Tag: 1658539674-538900 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, 23 Jul 2022 08:17:13 +0800 Hillf Danton wrote: > On Fri, 22 Jul 2022 07:02:42 -0700 Doug Anderson wrote: > > > > Thanks! I added this diff to your previous diff and my simple test > > still passes and I don't see your WARN_ON triggered. > > Thanks! > > > > How do we move forward? Are you going to officially submit a patch > > with both of your diffs squashed together? Are we waiting for > > additional review from someone? > > Given it is not unusual for us to miss anything important, lets take > a RWSEM_WAIT_TIMEOUT nap now or two. Meanwhile I feel good to, based on what you discovered in rwsem, nominate Doug Anderson for the 2022 Google OSPB Award, as one of the winners in 2020. > > Hillf