Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2690238ybb; Sun, 5 Apr 2020 14:05:22 -0700 (PDT) X-Google-Smtp-Source: APiQypJentMosL+LdG/MM+bw7arD3bP3csNkpNb6HMWu1mjZvtcUIOC+2oLW85+u0j0yudHlw5JU X-Received: by 2002:aca:e08a:: with SMTP id x132mr10655963oig.93.1586120722418; Sun, 05 Apr 2020 14:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586120722; cv=none; d=google.com; s=arc-20160816; b=EcTBeyAwTfnUxLyfCgAxG7lX8l9/YQjYKJ9onACkbdkZfcAysCAJOV9dyeSp0jZjS0 zMkHSkLPeMfDkBGTXBaGKgzba87zLIyIN8TkKNyyOOPuWykOZUB59hkjeWnoswV9gw+v x9MVuzbRZP6iboJAjfc2ZkT4AqiXGdaNdd/IkHy83Hjxa3h3ELX9fqpx5RTUpeXTsbV2 Sh5UfW3+EB6sHDSYI3oLxlzp+V1/PycYepWvwFz/Tlfl1e8OiXdgHwoofjHJSesTpoTs p1Q8tuZdR3rE63DFXVDl0Am6F5FolHtt5RZAHy+iMhJROW1LLplQMiqxvMI7ez1XzUYU R49g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4DyJE8jaDUiNyYuqX3Azu9P6orZ0CMtadRnxAX0eOZw=; b=S6+zJ7le2oX20oh7bso8tWm3Kuczyf2B+6U4a1+ZewxE9IyxAfi/YafBfI49AziUAG SZs91l6zyCrkm2b7WZ13YklnI+SQN0+yL4IgrvhOUZ1XM2Hv27wi93FBRE1PnVJHUg6o pwAX41ZJNXOu8SgQC3qQpQxydTzInVi7VjYoBIb8dZoweNi44PdtsU+zYJd4uJhRiF+Y fOMDUx8UYOWbpTNwLI6zuHK3oD5+DOBz54KCmYucu/yHDK7KTQzj/5t0SJSknqUhs01N zmllIPvuUgDuOEJidZCow1tJh2vi71OBsj94p+DsHKytVSbxx4K+0HWefJCi8d3GzI+g s3vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kolabnow.com header.s=dkim20160331 header.b=SDJrM4QB; 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 a11si6334917oib.154.2020.04.05.14.05.09; Sun, 05 Apr 2020 14:05:22 -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=@kolabnow.com header.s=dkim20160331 header.b=SDJrM4QB; 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 S1727620AbgDEVEq (ORCPT + 99 others); Sun, 5 Apr 2020 17:04:46 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:1414 "EHLO mx.kolabnow.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726772AbgDEVEp (ORCPT ); Sun, 5 Apr 2020 17:04:45 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 159AB708; Sun, 5 Apr 2020 23:04:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1586120682; x=1587935083; bh=4DyJE8jaDUiNyYuqX3A zu9P6orZ0CMtadRnxAX0eOZw=; b=SDJrM4QBn/GS0RKKTMcVb7y+EOa6v3Z4q0g oap4H2Qkn2EOvpxDddo8SwlTJNfRPG1E5onXSJU8xdpIncJaYRtdnmejD4eUyIZZ cqbpURFggZlq+aFvs1G21Y5y68Ef/jloMO0YYKBKzehf6z0HkmL3kBjEA6YO+HBB Wmx2mrK69Sh/CAkmTema+gC/r0P8RSPGxE/+tSJowh08ANdxO6Ow04LsMHoq7zRr f5rI/JUNkxQjbwkGskTs8vz8mr/wrWWx2gGTCz9YVD6cXgeEWVrZ63XEXgVuRJ1o 5iTPwBlIOw6XAMy5IVfB+sOjIrsEm9gP774G5HknWyAr/5SwwuTevKpSc1fUSQHf 3nqeYCg0LVmrSh1AqKMELwh4peZqwak0h70HvSXz5mkl2hKt6Z7nEx1rh0UT7BUV T1f7c8jdLmNlaL+gqO2qDaqySCmChT0/dKDm/CEyEgDsxj8k7b+vAAuSLSdFXIsm UHupoS9LiwhtSbDcYwFjHuXeAZ3ycmt8YvkrXjhR2Fj866jiIWPIRU1EaYBYChwG sKcoM2R06paY2Sl3yXOXhMHWKhYtyRA8D/qP9AEuo4MCf4ctP+l6t9qMBr1YItIZ o1kBwZCQW0B++YO1K/WkxacgGmBo/y6K+WfyyeC8Fb5YA7qnoPpmCqSkl/hH5d/f isedh4q8= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-10 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APv-grdysqV3; Sun, 5 Apr 2020 23:04:42 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 8203D364; Sun, 5 Apr 2020 23:04:42 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 2F90418E; Sun, 5 Apr 2020 23:04:42 +0200 (CEST) From: Federico Vaga To: Jonathan Corbet Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Federico Vaga Subject: [PATCH] doc: highlight structure fields using monospace format Date: Sun, 5 Apr 2020 23:04:33 +0200 Message-Id: <20200405210433.24791-1-federico.vaga@vaga.pv.it> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The idea is to improve readability by highlighting structure fields using a different format. Signed-off-by: Federico Vaga --- Documentation/locking/rt-mutex-design.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/locking/rt-mutex-design.rst b/Documentation/locking/rt-mutex-design.rst index 59c2a64efb21..bdd6b0013e02 100644 --- a/Documentation/locking/rt-mutex-design.rst +++ b/Documentation/locking/rt-mutex-design.rst @@ -199,7 +199,7 @@ Mutex Waiters Tree Every mutex keeps track of all the waiters that are blocked on itself. The mutex has a rbtree to store these waiters by priority. This tree is protected by a spin lock that is located in the struct of the mutex. This lock is called -wait_lock. +``wait_lock``. Task PI Tree @@ -216,9 +216,9 @@ inherited a priority, it will always be the priority of the task that is at the top of this tree. This tree is stored in the task structure of a process as a rbtree called -pi_waiters. It is protected by a spin lock also in the task structure, -called pi_lock. This lock may also be taken in interrupt context, so when -locking the pi_lock, interrupts must be disabled. +``pi_waiters``. It is protected by a spin lock also in the task structure, +called ``pi_lock``. This lock may also be taken in interrupt context, so when +locking the ``pi_lock``, interrupts must be disabled. Depth of the PI Chain -- 2.25.1