Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp402896img; Tue, 26 Feb 2019 02:04:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IYue5pRuIqY0wMZ8J2x825ynMW/IxD6X0y47D4SHfmu2FxoHi1lRjLwY6cbujpn7d8tgan2 X-Received: by 2002:a17:902:b492:: with SMTP id y18mr25061649plr.175.1551175482870; Tue, 26 Feb 2019 02:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551175482; cv=none; d=google.com; s=arc-20160816; b=a6i2/BbknvokdniSlu8ppclkoQUxRAZfXFy2Mg4SP4NkBMnLaubh3mFT0Zd7uyyHj3 C4cSl/heSMlOFDZYXEPWcMLz4t8C1rY90+xPjaIFutEBXNhs7QTvX1nVO5Scwn4/YmFj Iv0Ai3oRcuK6G+Y1CS2wHhaqrFBtDktn8TIqqPueXRqfHOGnPUnGqBvf4t4wQ/cFP/pC CUNxz9nhnLk4+0/tDPM+WQvj93m/d1khLzgYzmNYlZNyzAsgXlSgiOClDC+zQrBgZj9e ayf2H4fhtU5RB65y0lGERgwyIK977tL6d+bHYxRNeTMarDTYZFewd1KVDBK1lQUQQ1UK 1BtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Kyl9qadJ2nNRAqq9IwbQU519mOSkkmNpab6IRKfgh0Q=; b=JMdSVagznja3uufVdmDdd8LxqUw3c9L3PUZ9PLVUFqjaQRGRiWpGSrlhZsrFy2XTTu WALym3MNJjKlPK0EINISl0pGMXqU+w+30m15zvq8+zjNWH9hoRiyqiXPVDFgDgDwJHIf 1qkh6Zo7q5eJxBoTBzdiKEiXkoKLcadT6LV/8X1XExwFs5Vb+iLhaHX3fZauTfmhV7ie mEuk/ompTamPLk+AaRGuEDERdIvJwK8qXM5ihjTlKDXsM0nr2NVL5Wurl3uWY65MJBpM OwCSTPNsEhglBi9v6qSLh4wE4KClEskU8pq7t61Cvvq0wnX2n36qIa8/TPGKzBfN9t9W PU6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hksXfd2J; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j191si11320553pge.254.2019.02.26.02.04.28; Tue, 26 Feb 2019 02:04:42 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=hksXfd2J; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbfBZKD4 (ORCPT + 99 others); Tue, 26 Feb 2019 05:03:56 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42786 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728133AbfBZKDx (ORCPT ); Tue, 26 Feb 2019 05:03:53 -0500 Received: by mail-pf1-f193.google.com with SMTP id n74so5996779pfi.9 for ; Tue, 26 Feb 2019 02:03:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Kyl9qadJ2nNRAqq9IwbQU519mOSkkmNpab6IRKfgh0Q=; b=hksXfd2JvvExXDVKIxjWyOX0a9WbYJCnn4JyPdnm58ILG6lI+/5+dDqXKRfTYDOTjE RsaxB99IJtlCBIqPuij0chj9ZFeREKXddnY73xZOXk1AxUPAOn0GOs8XOx2mh3NZ/pMl hWeb8QFob/f4xaiFUc2uwHt+x9+LdIq9J2Y+29epftjzL8MIDw92enNoPpOjp0kg3GxP O+rfsj1lPxrB8cLzRP2t+ohbKIV1hVNp0rNbv115WpdgJcAtsB1vg/CzqSNvdBPGdH/1 6v2dDO99RH/Pgffbbo3x0xHk1YvDRxSVrTs84k/Q4S8p8sEhBpiRRJJnRY7y4e3GBOJc 1Nxw== 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:in-reply-to :references; bh=Kyl9qadJ2nNRAqq9IwbQU519mOSkkmNpab6IRKfgh0Q=; b=Y/9Oxq/D1SxjM65UjjhaUDJ6njHKHAetEJy4YJ/pXfhCy1WVaCZkm0muZUTJHQXGqH QxNsRJo6JNxl172t0K+JoNcZ0c5W8Jq01zTWN855f4Bvl8iLwJIb7xKcXpFKocLCv/70 4K+ZuON7WhuWF0gpYXvwCx4KQPlBNM7EeMZypS69XS5GvfZrmZIw3EKt1z596sKpQ6LA JxlRWIc5V6wZVTqSlz2ilre+hsiWEbkvCMu4q8h9pOpzY70tqa47oOaVpmfjEZx8muuM DuJznZ+XuKZA/uPJZs1OQGmxxz1jZnW1fBoZ2/XnSKvt4UjMlM0HI46nqDp+emwdixtD CzQA== X-Gm-Message-State: AHQUAuaVgsBKlBqnYE+N2xVqsVgAPInt3YVzBRJmSOy2g4rcgEXu466o 3QN5PIDZOvioCKIasy7qkz8= X-Received: by 2002:a62:2ad1:: with SMTP id q200mr24857246pfq.34.1551175433283; Tue, 26 Feb 2019 02:03:53 -0800 (PST) Received: from localhost.localdomain ([203.100.54.194]) by smtp.gmail.com with ESMTPSA id y6sm12045520pfy.87.2019.02.26.02.03.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 02:03:52 -0800 (PST) From: Yuyang Du To: peterz@infradead.org, mingo@kernel.org Cc: linux-kernel@vger.kernel.org, Yuyang Du Subject: [PATCH 7/8] locking/lockdep: Update obsolete struct field description Date: Tue, 26 Feb 2019 18:03:26 +0800 Message-Id: <20190226100327.19340-8-duyuyang@gmail.com> X-Mailer: git-send-email 2.17.2 (Apple Git-113) In-Reply-To: <20190226100327.19340-1-duyuyang@gmail.com> References: <20190226100327.19340-1-duyuyang@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The lock_chain struct definition has outdated comment, so update it. Signed-off-by: Yuyang Du --- include/linux/lockdep.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index c5335df..128f276 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -192,7 +192,11 @@ struct lock_list { * We record lock dependency chains, so that we can cache them: */ struct lock_chain { - /* see BUILD_BUG_ON()s in lookup_chain_cache() */ + /* + * 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; -- 1.8.3.1