Received: by 10.213.65.68 with SMTP id h4csp1597550imn; Sun, 1 Apr 2018 09:43:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4++L1wJwhThJEBA7XB/E7TCBSuSxafrYO5vhsTFteJNh2tLTMxTDYgOyg7OsUGvztW7E+2E X-Received: by 2002:a17:902:6909:: with SMTP id j9-v6mr6877925plk.92.1522601024833; Sun, 01 Apr 2018 09:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522601024; cv=none; d=google.com; s=arc-20160816; b=pdu0Mhr1EfeQ13XuOiVu/Pi07S8u4/PMzX36chD/A1fOPCbWNY7OAhzZMuShiH1/v/ TUrfPnfItcDjBiO4ldvRNxPNGwiyvrlI5qMDzQwtGcXfq30nMT/z0GjI6zgP4cS2nF34 2wTy3lgzwUksWMR9GStovvPlAH9Se+oLJE8/8RJ/WVi8erU4GlILXQnILn9KgtHH3uxP a31wdULObaCZQM61PoDh12Hl2bUrT1RsgJxHVobD3CgNkeu80XaUo4mtzyWsymdx2IUl P7e1CJG04/LPadff9DZHTng416Dl4cwCfEDbTuAkvO8Rty+SWSQqjr3o1flFsy52Qor5 EOJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=QFManiv7+DpifrHIi5imaqN8LjaalcLop0oVJsWj2wA=; b=rRhxi7Y4gBzVaTXJsu/ZFBJp/2Dp+HeGm34LhY0auNvWy8FsQgffNh5N+5/1xdIOSn AbGoGmq8XpVYhPGPsowyJCDVMZX41R0ZreFdB0ZA6LW44jnb3eNAEhICI3kPfBihxFjB I2vyj5RXh5giXz/D7A2A4Wsy8DgtFXNcmL5uH4/cTc2SNwJ4xLThfoPEirglOjrpSU5Y WVj0zAB5TuvQQM84D2A7BaU2TvAcqQgiF48hvzgFejry3PsbZ5XkTthJkio8L+zARlJa zbrMbq3c6NQ+G4HzZXzeuiw/ONoZLllXQ/kM+ln8+JY0Uqw7YCe3phE5igRjCuZEByTr KNsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=J64w21xp; 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 q84si9794587pfl.88.2018.04.01.09.43.30; Sun, 01 Apr 2018 09:43:44 -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=pass header.i=@amarulasolutions.com header.s=google header.b=J64w21xp; 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 S1753703AbeDAQmX (ORCPT + 99 others); Sun, 1 Apr 2018 12:42:23 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43030 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753672AbeDAQmW (ORCPT ); Sun, 1 Apr 2018 12:42:22 -0400 Received: by mail-wr0-f196.google.com with SMTP id p53so11616653wrc.10 for ; Sun, 01 Apr 2018 09:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=QFManiv7+DpifrHIi5imaqN8LjaalcLop0oVJsWj2wA=; b=J64w21xpKtboMThcTOfclvt8IG/sV0OLEWxJuuZgMWTVQKN+uPMNmkojtrh5xEcpbs +gO/Fu3ab5JuDwWduetQydiTNhORgJvFRpflK+O4HllEb9aZ4RlGIRZUMS5+ac8hW9ez WdjUv/0pcAVjrEHsoTf4khs+1RQqSCD0PYDWM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QFManiv7+DpifrHIi5imaqN8LjaalcLop0oVJsWj2wA=; b=Gg+2dkrMmcLfiguX+A97nebSRwWRREP3w7URAfp6XEziqIRHRXvu2xdreFYv+GUe+e eu9His9BJgJZssinZEo/at0mG9nq8vtDjgf0XwBJ9rX84cziBaFrRuydciiev2OpHjbV kdDDjQTF8LM1HY/1VJa9n+wUJe/tIXxjMJ/Fhig5hwIBpe6OqyNORfYLCQz4sdMqkz7O 5d0LHCNJJJnL30UrqXq5IJtlTIQvtdyiJCbbP9crqRlSHx+gxYK0DKZDc0SEu09Z3LXC vzqpb/hGtsIBa4GysZcYZrXQtKg2oCI9xpL5ChnW8Y/UWMkyBS8p8ERs+8LVQsvz6djF cUhg== X-Gm-Message-State: AElRT7E3cfHrKDU5YiUCB4CZPfx7M9Uu5aNpRiKOEvwgvnvhwlKUwW6N VszqQ50BE0Swy+KRj9aTpg72JtcZ X-Received: by 10.223.189.11 with SMTP id j11mr4797222wrh.49.1522600941486; Sun, 01 Apr 2018 09:42:21 -0700 (PDT) Received: from localhost.localdomain (host187-49-dynamic.250-95-r.retail.telecomitalia.it. [95.250.49.187]) by smtp.gmail.com with ESMTPSA id a205sm2579302wmf.18.2018.04.01.09.42.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 01 Apr 2018 09:42:20 -0700 (PDT) From: Andrea Parri To: paulmck@linux.vnet.ibm.com, Ingo Molnar , Peter Zijlstra Cc: linux-kernel@vger.kernel.org, Andrea Parri , Will Deacon Subject: [PATCH v3 0/3] Changes, clean-ups and documentation for spin_is_locked() Date: Sun, 1 Apr 2018 18:41:49 +0200 Message-Id: <1522600912-6208-1-git-send-email-andrea.parri@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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