Received: by 10.213.65.68 with SMTP id h4csp1661999imn; Sun, 1 Apr 2018 11:25:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx49FnT31e3/BQIvg0nhLVo0QFReBEEpMdJMZuMk2Q8ubjfIQfFQrw5/JfGtcsn6dNO4sVETv X-Received: by 10.98.66.203 with SMTP id h72mr5177032pfd.156.1522607149551; Sun, 01 Apr 2018 11:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522607149; cv=none; d=google.com; s=arc-20160816; b=nlkCLbdWYZFcMIVli/509uKZze3KPkZq5AFckksp2WwTG4dpsQnyWSTztt36yS2/// 89yT5ZW55OyFhFiSLcfrGA9gmnGKSuoLSz4ksymWfg6QuBZ7F9UgxJPKIljcrZ0nH2O1 Lah/Vz3NBMNHaqb+g80xPAGGCBKXujBi1wlhj6AcNt9q5tiCYv1aAqXX0M/ZF/ZaFUOI fxUOEceg6TxTn9sbYXBtDEBTGzLswSYurDhmwHgSvzar4EDTAdxdupPByuM1oH4HZokc qazvwBF7GVR0KkPvzoz0KBN6sYiI5EfMwL48swnrnKJ48TPAgMZYfiQdl5JvMEJJ6OZb Ybxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=pYABdmLeSrbuBtJF3Dl3jtSE8fcO0s3PjIlRHYlxtds=; b=p/1IdQ9yYaD1HcoTQyEEzxmVFC2NI0pGB40seBmsn8Rws0d5xejrPIDL89G2H3vCyH H0zV/L1yqXSfP8RgTfk2xUgQvPorfdtPsCAap/IIrD/ItmLTH5kB+Djo9SktMejmCWH+ zFbB1D3mEyPKgAv/+9DwfsozUQXjIZlzaGnjLldbiAUzHyaL2ybB1BWfo7G7r0tliFIW n881vchuJCi2yKWBpX+xaTZTdcRHA7hEWu4mKxLmABOUaZfG1p1aeErJk8yE4Cp5oQLw W/MJXcWJdxiiSHVqEpiU7hi0gR5zFWqvedt6qznSQeKcV6qkp0JyUEtedC8E2c5G8PFu Y/vA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15-v6si12877389pli.616.2018.04.01.11.25.23; Sun, 01 Apr 2018 11:25:49 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753816AbeDASXg (ORCPT + 99 others); Sun, 1 Apr 2018 14:23:36 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36144 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753770AbeDASXe (ORCPT ); Sun, 1 Apr 2018 14:23:34 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w31IIZwa123551 for ; Sun, 1 Apr 2018 14:23:34 -0400 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h33b7hvtu-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Sun, 01 Apr 2018 14:23:34 -0400 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 1 Apr 2018 14:23:32 -0400 Received: from b01cxnp22034.gho.pok.ibm.com (9.57.198.24) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sun, 1 Apr 2018 14:23:30 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w31INTa050331872; Sun, 1 Apr 2018 18:23:29 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EC92AB204E; Sun, 1 Apr 2018 15:25:37 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.156.101]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id AF59EB204D; Sun, 1 Apr 2018 15:25:37 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id C237316C2F60; Sun, 1 Apr 2018 11:24:26 -0700 (PDT) Date: Sun, 1 Apr 2018 11:24:26 -0700 From: "Paul E. McKenney" To: Andrea Parri Cc: Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Will Deacon Subject: Re: [PATCH v3 0/3] Changes, clean-ups and documentation for spin_is_locked() Reply-To: paulmck@linux.vnet.ibm.com References: <1522600912-6208-1-git-send-email-andrea.parri@amarulasolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522600912-6208-1-git-send-email-andrea.parri@amarulasolutions.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18040118-0056-0000-0000-000004360F91 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008784; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000255; SDB=6.01011656; UDB=6.00515531; IPR=6.00790931; MB=3.00020360; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-01 18:23:32 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040118-0057-0000-0000-0000087820C4 Message-Id: <20180401182426.GJ3948@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-04-01_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804010203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 01, 2018 at 06:41:49PM +0200, Andrea Parri wrote: > Hi Paul, > > This series gathers the change to the arm64 implementation of spin_is_locked() > and the clean-up to the generic (q)spinlock presented in [1] together with the > patch adding the docbook header to spin_is_locked() [2]. > > Apart from minor adjustments to the commit messages, the patches are unchanged. I queued these on my lkmm branch and pushed them to -rcu, thank you! I did rework the commit logs a bit, most notably to add the URLs of the specific messages discussion the spin_is_locked() investigation. Please take a look and let me know if I have broken something. Thanx, Paul > Cheers, > Andrea > > [1] https://marc.info/?l=linux-kernel&m=152223038924258&w=2 > [2] https://marc.info/?l=linux-kernel&m=151981440005264&w=2 > > Cc: "Paul E. McKenney" > Cc: Will Deacon > Cc: Peter Zijlstra > Cc: Ingo Molnar > > Andrea Parri (3): > arm64: Remove smp_mb() from arch_spin_is_locked() > locking: Clean-up comment and #ifndef for {,queued_}spin_is_locked() > Documentation/locking: Document the semantics of spin_is_locked() > > arch/arm64/include/asm/spinlock.h | 5 ----- > include/asm-generic/qspinlock.h | 2 -- > include/linux/mutex.h | 3 --- > include/linux/spinlock.h | 11 +++++++++++ > 4 files changed, 11 insertions(+), 10 deletions(-) > > -- > 2.7.4 >