Received: by 10.213.65.68 with SMTP id h4csp1637624imn; Thu, 5 Apr 2018 00:49:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx49PkhMJu2czWoSzZEZuLAxc+dEmRADCUlQON1EWJs5vmW99gOwF167JQU8XVvKf3QF3i/ZI X-Received: by 2002:a17:902:ab98:: with SMTP id f24-v6mr21483695plr.331.1522914556420; Thu, 05 Apr 2018 00:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522914556; cv=none; d=google.com; s=arc-20160816; b=w8YNLDBFq+7W53212/k0CiFMH4ZE22LebeLYmL5atHQm6UKt0H6Xo0FlVKQc5DsLv5 bdP8l7IHtMQnCKbw+KeY9UXk9mJ/ZQlDd9aYt0lMR6pbzdNCyzoJLDmrrcR+9DvyD5os D6Kf+3N1jg/H6ryn5GykHGZjinvaBHgGUdJaSkpZPtjVHn8vEYtPjAOOXH4+kiHw69TR f+YiwbXAsZQqwxsmsewyhlPL9M4/7dzJGPFc2OM15EIPK+2u+r0Ta0PfznlceC6aK7tj Gb2xWfXPcdpyQyTm0d/RAXL9DBdQx12LERLCx8+Ka+TCalM1ymfIM1INsJOMVqVP+BB3 oQfQ== 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:arc-authentication-results; bh=34fpdRAoXnNqahl4VMObXynRwPic+tHMrWZJDU10ySQ=; b=0soO4SlQUtZ2/PQhE3t+0l/UmsIxieJXiUtmDYdko4QboMh+pIC7T1H9mURIjbcPig NCgHYpiDQ5rd4aKkWZVnWdRZGEMUPlW53FIqWPKl1K9Q6QhWyOARosETf0yn5ZJFKr8D aof7eLhDRzPIshnL/2gOKwuJxx7ieipZ+Nlz+aoUr1GjodjKsTrqgplb8gHoaMKCchwq ALGHH0VOFsBC3dPWYE+xW1YKJYIdBiGce9YHaUjn1S/kXMT4UPkPJ/R4o/CjBzAs2g3K QTFL8OWymruahvVZ6nCEz9BOEnjVFhzKouQls6mFBTruuEqPapTMI+nwneg302+v7SgD GHbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=p9anSDNq; 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 j184si4986185pgd.731.2018.04.05.00.49.01; Thu, 05 Apr 2018 00:49:16 -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=p9anSDNq; 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 S1751298AbeDEHry (ORCPT + 99 others); Thu, 5 Apr 2018 03:47:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34856 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbeDEHrx (ORCPT ); Thu, 5 Apr 2018 03:47:53 -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=34fpdRAoXnNqahl4VMObXynRwPic+tHMrWZJDU10ySQ=; b=p9anSDNqUemvS+ydIBhO/pF85 mttDN7lfy5WCSkXE0m3p+WmzfZr9eoH4TXVPlfs5MzxmimqQDII/8cN29qlNy+3uSTRvrtoFy5mpI 2NqhV6T+un471Y0A+0yg76Wepzq7VBKMlM5cENJc8AY/ExQfPVX+zpkWEMpWFGj26hWop2L4HVlK2 YqjQHjqup/HG6nUpLWvAYBNR1cRDGLP9pYIuym12dhtCvKWEN74mp5tMeTSDce2yqRF7TSz1jvbgS 021D5QO2fmEal5dCBAGUA36sclKIk7tVgDPUPb6lLmJ5hd2czj51tCiCmHjPvz7eO1hnE7S0LTgV8 bvoe3fV6w==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1f3zcb-0002nr-PW; Thu, 05 Apr 2018 07:47:49 +0000 Date: Thu, 5 Apr 2018 00:47:49 -0700 From: Christoph Hellwig To: David Howells Cc: Andrea Parri , paulmck@linux.vnet.ibm.com, Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, Andrea Parri , Alan Stern , 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() Message-ID: <20180405074749.GA23889@infradead.org> References: <1522600912-6208-2-git-send-email-andrea.parri@amarulasolutions.com> <1522600912-6208-1-git-send-email-andrea.parri@amarulasolutions.com> <29562.1522759749@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29562.1522759749@warthog.procyon.org.uk> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Can't we just kill off spin_is_locked? It seems pretty much all uses should simply be replaced with lockdep annotations, and there aren't many to start with.