Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2493450pxj; Mon, 31 May 2021 03:42:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsIDkuMuWR27693I3FJaGX8G8Orkp1UCaJryRknsjndsKnrtwxygg28TnE71Me5uxLVnP/ X-Received: by 2002:a05:6402:1801:: with SMTP id g1mr5575438edy.305.1622457734178; Mon, 31 May 2021 03:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622457734; cv=none; d=google.com; s=arc-20160816; b=UOJvYPcuZHKuBxDLeUzC38HxMTjkn+all5Gh/mMci6Fsl1rcO3XVEvzJyeis3PwolS RQLMb0FonKj7V4rLEqj464TOtgjtTkAiPLH3nnxU8enIlMd+ejVU6ek9Lnz/zdOCfWY7 +HzXaVMiVxyzH6OSP8WpVy3bGWKSfZyiOl3ES54E7Ds02dmhRgygtPsG09EO5f/OOXfi pQJPEHJrNlWkT5Sh50/oGLQ4Fyu+IpENBWieulnG24+U3D+laXD4G+DDV6u8d00Ne86e gKciSW5jahAOmkImixS1mLUk1azFBWznoycmNNaJHi7YgYtyuUfUdX4vQg4MjpURAGYC trQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=dDzCOTdjOtOWtFO5A1Jpu5BJZWjn6mk5O1shnWZoCfo=; b=09r0bOKXXPifpM1NiNZcZAnqiBlKLA83WWVF+MpCgphyHd2fsgdam+vs0j+Gw/qR+R nCPU2Kcb59l33VbeWSJT4MP7l7EZIq7GNVIOsJUetxH3/h80j8Q5pJYvx2imm88jrBis 8cPIoZqLsVXpUhOoXojdq3/QseMTuVaSK4pyITgSRoG0QDi7YsXEnryzB02jFrywP/rw J59oG60QO+LhTValyDNDL9A0vRP+jzbGt+eYB5X0P3mtLNV9Rrj6UXJZ/195l2yslcC/ Oedekm1/rVi6bj50zOFHn1x9gTBSEEPPXSUt3P2KzHI0aofRe7cP6+RR1Yk00wq5omKh lHmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KhV3i0z7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=8EfeKSFg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u16si5959356edo.234.2021.05.31.03.41.51; Mon, 31 May 2021 03:42:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KhV3i0z7; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=8EfeKSFg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbhEaKm0 (ORCPT + 99 others); Mon, 31 May 2021 06:42:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbhEaKmS (ORCPT ); Mon, 31 May 2021 06:42:18 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F421CC06174A; Mon, 31 May 2021 03:40:38 -0700 (PDT) Date: Mon, 31 May 2021 10:40:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1622457637; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dDzCOTdjOtOWtFO5A1Jpu5BJZWjn6mk5O1shnWZoCfo=; b=KhV3i0z7iKLemWnCxgPy6qbjfC6yzL29rnx4WUOKxZVZJR6h/adC5Cc1GkHXhs90VZRzT0 5461m+9aPikYfRgEx+MJrYTSBP7Q+ot+wHaONQzD7B9mZpB0X7VVQETgXWFytB/+SCBkjK +t/+ISsBHubAcWnwinhQx5FJ8RGp6196Rm1U8QldiK6sc6sXzvynXU/Qpe3cAxw93o0gAA Av5Mrd5Wzvm4fuGN+TCq+looN+/7DxQMCjATIaX9TehUu9JJY9bGH+QNJ2VG/CLvKlPG/t DiI3UivwPRgE3oZoSvwaqKOZGvvTi7mZDXRheo0v+MC81byGButBVv2RdseG9w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1622457637; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dDzCOTdjOtOWtFO5A1Jpu5BJZWjn6mk5O1shnWZoCfo=; b=8EfeKSFg+eAalmgpfJkejgtbjRnhwg2vRNyKCfNKHiD0SGSZnc+S+fNNleO//0VXSeysg4 Ct7xwk61DCD29pBg== From: "tip-bot2 for Xiongwei Song" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: locking/core] locking/lockdep,doc: Improve readability of the block matrix Cc: Waiman Long , Boqun Feng , Xiongwei Song , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1621868745-23311-1-git-send-email-sxwjean@me.com> References: <1621868745-23311-1-git-send-email-sxwjean@me.com> MIME-Version: 1.0 Message-ID: <162245763681.29796.2319971825299196026.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the locking/core branch of tip: Commit-ID: fab6216fafdd74cd84de929ffe7b787976d32cff Gitweb: https://git.kernel.org/tip/fab6216fafdd74cd84de929ffe7b787976d32cff Author: Xiongwei Song AuthorDate: Mon, 24 May 2021 23:05:45 +08:00 Committer: Peter Zijlstra CommitterDate: Mon, 31 May 2021 10:14:54 +02:00 locking/lockdep,doc: Improve readability of the block matrix The block condition matrix is using 'E' as the writer notation, however, the writer reminder below the matrix is using 'W', to make them consistent and make the matrix more readable, we'd better to use 'W' to represent writer. Suggested-by: Waiman Long Suggested-by: Boqun Feng Signed-off-by: Xiongwei Song Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Boqun Feng Link: https://lkml.kernel.org/r/1621868745-23311-1-git-send-email-sxwjean@me.com --- Documentation/locking/lockdep-design.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/locking/lockdep-design.rst b/Documentation/locking/lockdep-design.rst index 9f3cfca..82f36ca 100644 --- a/Documentation/locking/lockdep-design.rst +++ b/Documentation/locking/lockdep-design.rst @@ -453,9 +453,9 @@ There are simply four block conditions: Block condition matrix, Y means the row blocks the column, and N means otherwise. +---+---+---+---+ - | | E | r | R | + | | W | r | R | +---+---+---+---+ - | E | Y | Y | Y | + | W | Y | Y | Y | +---+---+---+---+ | r | Y | Y | N | +---+---+---+---+