Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp241186img; Mon, 18 Mar 2019 02:01:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFyAVXXqqpRRrR+jXeb4b4mh7lVCWNBJno6szzYepZcspLV4/8aVU1Rx/+YG/ngme2/KFQ X-Received: by 2002:a17:902:8693:: with SMTP id g19mr18769686plo.157.1552899665783; Mon, 18 Mar 2019 02:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552899665; cv=none; d=google.com; s=arc-20160816; b=FaO4ss7I2hwm7NNO30cuUXRBbWFvBW1P2Bj45frGMfbnRi+QBGrJkpSsJZsjQWPZ85 yCFB06ziVrzbpuo2Q5Q51/wPrjYRUu1fBuAhOj4yV1zAO/g1W2sjeN1UeIrBGQyH4Uie fJ60V7EuqtVDCSeV+sLgaDYOrP5HLWNI9wJAIyWDWP25t2/BM10BuXhCegrzHb96QnWn eAIUmm5Ybtg2fQ77BcKx6+UeeoUn8P3V+3VLwzoFAU0Vzd5wSlfa8nA457xVOMlsccW7 nNDbCD5uvHPBkdRq2QU0Cur74puVMowu+345M2X9D3tuzL09aB+vC8mRlOShsN0au5UX 8Kxw== 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=ArDsqRAATyCwkw9oh0nttU9vAiCnkj2gs14jUD+rGw0=; b=fLnSguCgCyKClXxdJ3s4GnQYut5rqdVu45wIGUwIcoVbPNR1Fg716lSwetjHzxPoI5 OS1S5+aSEJzPW5f9my/G4QXTVv8mtCWuFiaigcxzU9i/9q13CZeUgspHf3wIQve3nofv 0D5DPwjs+cB+l0mFqPXEm8GsMSm+H2VYz904Ml8IY0I9zc7tNqfVx8mDylWWN7SZOvTQ pZ3Pe2czqHmtHCwyay7LldHKxY3ee8Ds5iTcJsr4phmUS7NACXNfYmqIeJjra8Sjt7uz 2chNaOJTmao+ha83h0hYXZn+jfGGbUI5jyCV/aofBjI+JMmthbUv4N5CTV7Ahod/SV7V jQWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=na6XwXBy; 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 s13si4167921pgp.494.2019.03.18.02.00.50; Mon, 18 Mar 2019 02:01:05 -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=@gmail.com header.s=20161025 header.b=na6XwXBy; 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 S1727271AbfCRI6F (ORCPT + 99 others); Mon, 18 Mar 2019 04:58:05 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35247 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727169AbfCRI6D (ORCPT ); Mon, 18 Mar 2019 04:58:03 -0400 Received: by mail-pg1-f195.google.com with SMTP id g8so260944pgf.2 for ; Mon, 18 Mar 2019 01:58:03 -0700 (PDT) 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=ArDsqRAATyCwkw9oh0nttU9vAiCnkj2gs14jUD+rGw0=; b=na6XwXBy9xIeSLNwnGfkGJnuAxHGxblsvtQEJyrHQM0XqMDhXnmGSO89hTr5qXQBRD 3YYOau0UrFII5A82SBKjB5Bz2GbDVKSgoK5mfTy7B9wTFz5fbMaupP/8mWnz/Z3ARIJN ldMlXEBU8t3aOzSMeUqX0aC8zlPryBQkNt9TmOgZa1k5VlPeVGldOVMXXsjcOtawIi7Z AvT/x7mapauO3CWjciDT1IGSq3IKKk3i2HOFeLT6R+HHFui/rl+3ABPmZV3DLP5J4xKp 4YYlJf0+EMkWaqCOiDyrJGSusQDip3GXFckvnR0MMkXIwpn230cHEogco2l4jtreWXjW y6Vg== 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=ArDsqRAATyCwkw9oh0nttU9vAiCnkj2gs14jUD+rGw0=; b=FKFKvIu6f0+QbmYPA4qAeqjLvvivGPoLLa6uZgvtkEKSs1AJjGnv+PQJ7Sj4bJEyoV enlORuMn1/NchpUBYD/PdbmBtJB37Bq93Pp2mgCp5S77ctIUbph9nxI/5myhTWUdRY+l AjkSkDKW1rvASm9q4yvpZ1TcxTh92tJdxxNfwxclMEDO5kvAgQa/dvd4IwfG01gaE7wP uRYzpevcMjuul3hwwB4nPy+vnKluZxQXpNkShR0Kyj+ai5VYLL2QWYina8J/AKAbwSHx l9GeHDNA+NCGPyWQime/llzFcLSH6VedmUTK5T/ktLlt8aKkxU4iZ286OwOwlR6ECwEH UgDQ== X-Gm-Message-State: APjAAAWDHcuHFZHpIcmzy1TicWckbywu3ogZVVK6CZICisZEFsS+XfTo LWONwvgXUC+44tY4wptv7Pg= X-Received: by 2002:a17:902:7b93:: with SMTP id w19mr16271879pll.141.1552899483172; Mon, 18 Mar 2019 01:58:03 -0700 (PDT) Received: from localhost.localdomain ([203.100.54.194]) by smtp.gmail.com with ESMTPSA id k8sm11147024pgq.37.2019.03.18.01.58.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 01:58:02 -0700 (PDT) From: Yuyang Du To: peterz@infradead.org, will.deacon@arm.com, mingo@kernel.org Cc: bvanassche@acm.org, ming.lei@redhat.com, linux-kernel@vger.kernel.org, Yuyang Du Subject: [PATCH v2 07/19] locking/lockdep: Update obsolete struct field description Date: Mon, 18 Mar 2019 16:57:21 +0800 Message-Id: <20190318085733.3143-8-duyuyang@gmail.com> X-Mailer: git-send-email 2.17.2 (Apple Git-113) In-Reply-To: <20190318085733.3143-1-duyuyang@gmail.com> References: <20190318085733.3143-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, 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 79c3873..1258a62 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -202,7 +202,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