Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5701276ybi; Tue, 4 Jun 2019 10:40:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+BkhmfSss4ECvoxANxzKV2UQYDEyIrlO1bikL+GnrwGxSGdOZmodjTEFXeER2f3+9cQYR X-Received: by 2002:a17:902:9004:: with SMTP id a4mr25048184plp.109.1559670039536; Tue, 04 Jun 2019 10:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559670039; cv=none; d=google.com; s=arc-20160816; b=so74WIEoP+5aTtHjWHu8u61VY4XPvR3xwJQ+xDLGA+T8vZskWv+PYWj603yT+xrMQG 05LDjSdr5pJkGDMTunLADfCdvzW3R545i8cik0aSe6CBt5/zzXwmN9LKNheSNYAvdQNd nPN6LB41Fx3RxTUQmMUAF519EvhsYWinDjoxJ9X+IREN5axIRqWnHFaTcyPTCPsMVOer ylbKpXj5Vbj0bC6XMnNW3x+nM3qvCoEBSCqsvCqhDbhagJvfH36Zqv5oc6fUBUDXnQPR m5nHLYFIfeBNBL+Ul8sRC6OCjB07aNqR9akYKkd8QDheVS0NUt3XxDTW0MpsXT9svK+P tbOQ== 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=FYzF5TUzK4CIyrNZDcehrGX3pjE6OWI8xK3W3Q1xIGQ=; b=uOvIYb8KDX82DZnooYWhypC0Q6hgELDKfvBXh+u9/P1mW0s5qOv9z96YsMAZV9Nag+ 6RfCaTVD3773H79VTviJxHwKM2nPFjGc4J7MG1tW1Oko8TqbkGp8Bvb7ooiw1sca1WnE m4WEWVGzjJC3ArCS4nA/k6lz8xynkfLmcKXVoWpSHxNBuGE19vU7l3CV75e3IABIHDzV 2Zx5kzGhsMitn2xC4t2ptGKFOoMor+/j7JWr8roSsPjhwgWUNDCUT+AWWfDn+pnzJrv9 mCs4jZOxG7OCeT1NAKTsaCbvG092OIkBpuWj/YL5cwviG5bqTeCdBLum+eMqCXpvCQNO 3atA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=goBiunHY; 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 d5si28071087pfc.131.2019.06.04.10.40.22; Tue, 04 Jun 2019 10:40:39 -0700 (PDT) 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=bombadil.20170209 header.b=goBiunHY; 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 S1726637AbfFDRjD (ORCPT + 99 others); Tue, 4 Jun 2019 13:39:03 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40588 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbfFDRjD (ORCPT ); Tue, 4 Jun 2019 13:39:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=FYzF5TUzK4CIyrNZDcehrGX3pjE6OWI8xK3W3Q1xIGQ=; b=goBiunHY6wYTm1oY59dUPWrE2 bGDyhw4Bq2XyeUQexMKGZ+2tY3lYPJhdUUNJa3HI4AeIs7vU1Q4q9G00f5CLPylms+XR0W176eKTd yl8/SXaGn8OVpfRVlSp/vut3yoSuNSKK2XZ1fz1gHGrdQEyDBA8MgCZRbEdDmrlYrTnLabKvicqWZ tB3RAB594+C6KY3TGHEAW5JssSE8/PbQ+3HdSw4NZVmzSoi+x8pw2e6sFyOKPbCBEmsm/GDk7dyPn giVUyOLdypQfY0EJA88dhu1vRt2gGR+xV6iO7WOT83syV0lqC9F4MLQwErqU1ZMoAGc5vD/8uazkQ mKTxqRRnQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYDOh-0005eB-S8; Tue, 04 Jun 2019 17:38:56 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id AE60C20114D93; Tue, 4 Jun 2019 19:38:53 +0200 (CEST) Date: Tue, 4 Jun 2019 19:38:53 +0200 From: Peter Zijlstra To: Waiman Long Cc: Ingo Molnar , Will Deacon , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org, Davidlohr Bueso , Linus Torvalds , Tim Chen , huang ying Subject: Re: [PATCH v8 15/19] locking/rwsem: Adaptive disabling of reader optimistic spinning Message-ID: <20190604173853.GG3419@hirez.programming.kicks-ass.net> References: <20190520205918.22251-1-longman@redhat.com> <20190520205918.22251-16-longman@redhat.com> <20190604092008.GJ3402@hirez.programming.kicks-ass.net> <8e7d19ea-f2e6-f441-6ab9-cbff6d96589c@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e7d19ea-f2e6-f441-6ab9-cbff6d96589c@redhat.com> 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 Tue, Jun 04, 2019 at 01:30:00PM -0400, Waiman Long wrote: > > That's somewhat inconsistent wrt the type. I'll make it unsigned long, > > as that is what makes most sense, given there's a pointer inside. > > Thank for spotting that, I will fix it. I fixed a whole bunch of them; please find the modified patches here: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=locking/core