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 X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52A94C43381 for ; Thu, 21 Feb 2019 14:14:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19F2A2070B for ; Thu, 21 Feb 2019 14:14:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbfBUOOO (ORCPT ); Thu, 21 Feb 2019 09:14:14 -0500 Received: from foss.arm.com ([217.140.101.70]:45088 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfBUOOO (ORCPT ); Thu, 21 Feb 2019 09:14:14 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0C77880D; Thu, 21 Feb 2019 06:14:14 -0800 (PST) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BF95D3F575; Thu, 21 Feb 2019 06:14:11 -0800 (PST) Date: Thu, 21 Feb 2019 14:14:09 +0000 From: Will Deacon To: Waiman Long Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , linux-kernel@vger.kernel.org, x86@kernel.org, Arnd Bergmann , Borislav Petkov , "H. Peter Anvin" , Davidlohr Bueso , Linus Torvalds , Andrew Morton , Tim Chen Subject: Re: [PATCH-tip v2 01/10] locking/rwsem: Relocate rwsem_down_read_failed() Message-ID: <20190221141409.GB12696@fuggles.cambridge.arm.com> References: <1550263810-31947-1-git-send-email-longman@redhat.com> <1550263810-31947-2-git-send-email-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550263810-31947-2-git-send-email-longman@redhat.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 15, 2019 at 03:50:01PM -0500, Waiman Long wrote: > The rwsem_down_read_failed*() functions were relocted from above the > optimistic spinning section to below that section. This enables the > reader functions to use optimisitic spinning in future patches. There > is no code change. > > Signed-off-by: Waiman Long > --- > kernel/locking/rwsem-xadd.c | 172 ++++++++++++++++++++++---------------------- > 1 file changed, 86 insertions(+), 86 deletions(-) Just a straightforward code move: Acked-by: Will Deacon Will