Received: by 10.213.65.68 with SMTP id h4csp1192346imn; Wed, 4 Apr 2018 14:24:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+DDju978aCi5tunbVOdcQ2j2vFIuZWC535gDHcmOBiRSYbPtlZNuqogodXct3LOsskENAw X-Received: by 2002:a17:902:20eb:: with SMTP id v40-v6mr20247095plg.277.1522877082358; Wed, 04 Apr 2018 14:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522877082; cv=none; d=google.com; s=arc-20160816; b=HIY/4l/yHvNF+z/sDppEHloU1GNdWSa+ECXEiuIHaoFiPf0XIEoC9xuGfe4lTZ9yRv WSIHUeV8jVPWCnbYlfAlPURV3RPIGUn11cnLXbduOvqUhuokMq5UWXvj43gC23As1M9S 3M8oFeL0V6OkKYvHIf0dMOmYsY1HCKXW7BVT7qNL9YOwaqxmDdUeYsz7OyEqTu7tZQE/ mmY37x3GM1oyQgjLlZSR8CigmgyvL1viIiooXlJaMXKjY3U7haznFN0aFe1Owckq83JE nMQpYQq7VSh/L8GRpbxjuuWvfymj9SfQMmLHapOnRFjBQYqMTYxaMo0shnBbnK//3S7a Xrgw== 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:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:arc-authentication-results; bh=AYQzAS4yQx+8wfZZeGemRAAVRuSTFe18as6ctVHA4PQ=; b=GlIEhul8l8plEYcshW6t7ECjQwzE07COSBnJjOklzeHvBwc5RaypG6HQGk1mNvL1B8 c+e8uCGQMRiWLP6GL/bsoBHhot265YrxkVu8KzJVA0yzTF6LnmJQR3S6BN93QLRKGkAV hOSoE1uxP9ulj5906gXzjuzanr7Wub9Q5UvSACRZgSt0KZG7wu1Wlv1vkamJXZqzc0o8 nXlhDdOd90PQbq2gLBOZmNU5baqL3voXoGn9UwQU4HteQ+jjeC0dU7ieh4iZklf6QHsZ oU4JlMW33Ac2GPRA8397/AT9UC3Hs9NYFuj0ARTEsdORYK+uMXDhVJHchPeQIDhliVN4 WZlg== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v1-v6si4081184plb.657.2018.04.04.14.24.27; Wed, 04 Apr 2018 14:24:42 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752974AbeDDVWp convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Apr 2018 17:22:45 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:58008 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752249AbeDDVWi (ORCPT ); Wed, 4 Apr 2018 17:22:38 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 20914406E8B9; Wed, 4 Apr 2018 21:22:38 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-158.rdu2.redhat.com [10.10.120.158]) by smtp.corp.redhat.com (Postfix) with ESMTP id A106F2166BAE; Wed, 4 Apr 2018 21:22:34 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <91b57513-99be-7b77-ebe2-a7c2a121475f@infradead.org> References: <91b57513-99be-7b77-ebe2-a7c2a121475f@infradead.org> <7471.1522791794@warthog.procyon.org.uk> To: Randy Dunlap Cc: dhowells@redhat.com, Alan Stern , Andrea Parri , paulmck@linux.vnet.ibm.com, Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Andrea Parri , Will Deacon , Boqun Feng , Nicholas Piggin , Jade Alglave , Luc Maranget , Akira Yokosawa Subject: Re: [PATCH v2 1/3] locking: Document the semantics of spin_is_locked() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13146.1522876954.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Wed, 04 Apr 2018 22:22:34 +0100 Message-ID: <13147.1522876954@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 04 Apr 2018 21:22:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 04 Apr 2018 21:22:38 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Randy Dunlap wrote: > > * Note that the function only tells you that the CPU is seen to be locked, > > the CPU is locked?? > > > * not that it is locked on your CPU. Sorry, yes: "... that the lock is seen to be locked, not that it is locked on your CPU".