Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1539480img; Tue, 19 Mar 2019 09:46:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxk1jaOHs5Kij80Obk0L89nx+/9L5xCiv5qSDorWBEdmX9F6je3/yl8u2L5aerf60Ydobzd X-Received: by 2002:a65:4243:: with SMTP id d3mr2683787pgq.56.1553013960859; Tue, 19 Mar 2019 09:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553013960; cv=none; d=google.com; s=arc-20160816; b=NHh5xz0t3gZ6f+1hNHi2HcfsqZ8sZhWveEnHe3wPz6DXE+q+iEGfpdggDFrlh1GUxp pCIZT7umuijSp0P/eISyEzaDw1r2gbt0nB+CGiZntkckOt7SwGoUuFHJrX8gvEoSbxlM NBe2g6341Cf4vPakBenD5TNpZkmc2bBoX5/b8iGlS/uMBbmSvYe+XMAdLNAYiXcPIi1K 1w6rOFTs15KjN1aCRZZ3wcKL0dYCIuN3EFMRY6sqQQh1ExY12EnmVKR1GPAdDsrxNiMl qQVxliqGHXVEmC84Si4+cDb9hoAG9zqeltRz+nxLN+2Gwj/ABOgEdolgEr2+/whWPDN0 rPuA== 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; bh=/J0SRFJBzWr0hVCJzs5Pmy9FvrANS6VVjNxwsuuhYFA=; b=fbwCIELhAeMTwmG1k9V83LiOLRFARFE+jh2L5w2dijqHDUg42rfAqS8N9nsZ+EYZrC yYemHPx7/pa0VsMZsXw4iScwhY5XMSe1bDIrFuQTzy3VAZO8Lb6Tm9ci16FEeDx/K+J+ PR83qh/wZKAJXZ35B4p5uhes1bgO7EcniAr2r39vZ1+btyEWnUXXXbkfMaS39qE3Sf5v ejjSCY34P3jRnhmy8JDfee0pUr2mUuENa9xnOoSXgLeGpN6gfscps5zxlmhWUy4Qt3lq Lsx450i+8WeT8VBjd7dDvAJZJdQgJS/CrhBre4NySC0V8ok2/OcY07dVNteoKUFYggL/ oaFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ccSrLIR0; 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 p14si5803956pfd.176.2019.03.19.09.45.45; Tue, 19 Mar 2019 09:46:00 -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=ccSrLIR0; 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 S1727420AbfCSQoi (ORCPT + 99 others); Tue, 19 Mar 2019 12:44:38 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:60128 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbfCSQoh (ORCPT ); Tue, 19 Mar 2019 12:44:37 -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=/J0SRFJBzWr0hVCJzs5Pmy9FvrANS6VVjNxwsuuhYFA=; b=ccSrLIR0GhKXZHP2sO7+wRYV3 y5aF/Fv0PnvEw6wi9n71zY1V8H9xvvsj+ZMkKcsy7TUKMGHbSRPqOPRMKqriKXdryXdjXYQ95JIi6 5UZkL5xUh/47MEVz4QUHZ/nI3cqlaRY3uv77dok3zGKGM6ENU2aFEiIG6jizxmNLJypkodPs28AY4 VaPpEDvu3vRex91Au/CuOxCvL6xgxkPc56acR2o8URzkPy3fYOVjsqKQRixqH5XwH9vF4NMHq/KNB lKKAp0ykm+nb97I7qj9/0lp+CMNfTYqR4A0Ib0oeRUrukNGuQYQPFOi2u8m6Vf3OO0MTXS3fRWiBB szvQ6lHVw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6Hqs-0005eT-No; Tue, 19 Mar 2019 16:44:34 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A3C22203C06F3; Tue, 19 Mar 2019 17:44:32 +0100 (CET) Date: Tue, 19 Mar 2019 17:44:32 +0100 From: Peter Zijlstra To: Bart Van Assche Cc: Yuyang Du , will.deacon@arm.com, mingo@kernel.org, ming.lei@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 07/19] locking/lockdep: Update obsolete struct field description Message-ID: <20190319164432.GD6058@hirez.programming.kicks-ass.net> References: <20190318085733.3143-1-duyuyang@gmail.com> <20190318085733.3143-8-duyuyang@gmail.com> <1553013349.65329.0.camel@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1553013349.65329.0.camel@acm.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 19, 2019 at 09:35:49AM -0700, Bart Van Assche wrote: > On Mon, 2019-03-18 at 16:57 +0800, Yuyang Du wrote: > > struct lock_chain { > > - /* see BUILD_BUG_ON()s in lookup_chain_cache() */ That's add_chain_cache() now, please do keep the reference. > > + /* > > + * irq_context: the same as irq_context in held_lock below > > + * depth: the number of held locks in this chain > > + * base: the index in chain_hlocks for this chain > > + */ > > unsigned int irq_context : 2, > > depth : 6, > > base : 24; > > Have you considered to use the kernel-doc style for documenting these > structure members? > > Thanks, > > Bart.