Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3742587imu; Mon, 7 Jan 2019 08:38:51 -0800 (PST) X-Google-Smtp-Source: AFSGD/V/K+gPdMooKgDWKVlpnvQRIStxXPz/4uec9nk12JX79/dMtClT5P1IaywbS4ODNNRPedBY X-Received: by 2002:a62:9419:: with SMTP id m25mr66575346pfe.147.1546879131286; Mon, 07 Jan 2019 08:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546879131; cv=none; d=google.com; s=arc-20160816; b=zV7D0xCGMqHXjMxJXZY0oAaFOn4xyLYlAOm8SK97VxMfylfWpKzp2bQD7jjCK48DXu me8zOU/Tot+Hu6Wsb22nih0MSi1/LihzXRgQ/M7mYcYcaZVz/4pF93LbuGKPmviVKJNo KW0AWv0ALLmhgGFQv+hTu1yLiQ3+ug1qVB9LXXOFbB6PGzAKi3rfj71mNn77tKEgxxNJ 48vyMEiKztjdOl8R4HJ0k6xyTMkp6vL96dDCBwvRHv/Qbk6d+64iPOQNkPmMq5HGmIzR zPU7vSupHGjlO+iXyPh7xDhKLBFtlO8AOb2H/r1NhurP+hDu987PKYoMmKLBEqHLEVoZ podQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hhK0lQAb/T5Qb5P/c+gcywcn+Yx+I8NF2/YJfH4L2Cw=; b=JRKsowsbWLPQ363Tm83ZlLs0jfdYPI+RT/GymtDTQNL8aUQO64V9M5BBoAAfxnJaQz LNLYWyHSjHxkGkcPAjhRkL5A81LE4Z0C0J+UI1ueypEEPjrNUTyLsay70Xv8/zQqw9II cY1SvqVHCh4bf8cMqEcf8whMLLQJUNn2MLWqSClQy3tbaId1MHagDBUJwDdWLvqlA+BJ TMQtAemM8VxAMB1UrLUex/kuvzMcIDdwmQjNvIGfRokhLumqTqOCcGSGPFJ91zX7O4ih JmbeHkSGYD4YtWUp1LPXACmlDqNHW2cLIJwKIBaqscFPFAyQfQ/YC0VI9enta1yUr07X WZWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=jP2wvDVa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si28494016plz.105.2019.01.07.08.38.36; Mon, 07 Jan 2019 08:38:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=jP2wvDVa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729965AbfAGPbo (ORCPT + 99 others); Mon, 7 Jan 2019 10:31:44 -0500 Received: from merlin.infradead.org ([205.233.59.134]:38708 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727226AbfAGPbn (ORCPT ); Mon, 7 Jan 2019 10:31:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hhK0lQAb/T5Qb5P/c+gcywcn+Yx+I8NF2/YJfH4L2Cw=; b=jP2wvDVajxT7WYgavzqXL612V eQazChXO42iMuXy1lSyJE9tYg2O2CUBxmzJIN6T3wl2+fMAYC6wCUPtM2ZheODvjquXXkgdo7a1u7 qVXqiMg55HEnzxvAZTLw2oW35afcKX8QaWwh/bThB2UpDnq92dyqkvdEujALMOX2KO+iZHT8Q8PEL Vee/Y3N+imoy7SY9PxtjhhWiesLBuSD0jtZVrUZLm6uua7XrpooeYGCbK0lOH7bms3C+76nJBI1WZ KN2nncpZ7t1J2+pU5ndiYEqSm9UtS1PDa+quRdqymnQFfHfxjpzlbS88vyppxRWrzSPtGJ9dem/Yj Vhgcivq0A==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1ggWsA-0006C0-Pp; Mon, 07 Jan 2019 15:31:27 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8C4BC20074A04; Mon, 7 Jan 2019 16:31:25 +0100 (CET) Date: Mon, 7 Jan 2019 16:31:25 +0100 From: Peter Zijlstra To: Waiman Long Cc: Yongji Xie , dave@stgolabs.net, mingo@redhat.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, Xie Yongji , zhangyu31@baidu.com, liuqi16@baidu.com, yuanlinsi01@baidu.com, nixun@baidu.com, lilin24@baidu.com, andrea.parri@amarulasolutions.com Subject: Re: [RFC] locking/rwsem: Avoid issuing wakeup before setting the reader waiter to nil Message-ID: <20190107153125.GL2218@hirez.programming.kicks-ass.net> References: <20181129172700.GA11632@hirez.programming.kicks-ass.net> <20181129180828.GA11650@hirez.programming.kicks-ass.net> <729ceddb-dd9a-ec2a-f74e-03fa4d7e65e8@redhat.com> <20181129213017.v3eljor54lfpoug2@linux-r8p5> <20181129213421.wwvhsjql3m3lvtv4@linux-r8p5> <20181129221714.GF11632@hirez.programming.kicks-ass.net> <20181217113718.GB4900@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 07, 2019 at 09:35:09AM -0500, Waiman Long wrote: > On 12/17/2018 08:12 AM, Yongji Xie wrote: > > On Mon, 17 Dec 2018 at 19:37, Peter Zijlstra wrote: > >> On Mon, Dec 10, 2018 at 11:12:52PM +0800, Yongji Xie wrote: > >>> Hi Peter, > >>> > >>> Please let me know If there is any progress on this issue. Thank you! > >> Right, sorry, my brain was filled with snot and didn't want to make > >> sense of things. > >> > >> I've put some patches here: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core > >> > >> Could you have a look? > > That looks good to me. Thank you! > > > > Thanks, > > Yongji > > Peter, > > Are you planning to move the patch over to tip as the merge window has > just closed? Sorry; yes, probably, I just got back from a 2 week holiday and am somewhat scrambling to remember where I left off and what all landed in my inbox.