Message ID | 20221219042209.22898-7-bagasdotme@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21E62C4332F for <linux-mm@archiver.kernel.org>; Mon, 19 Dec 2022 04:22:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C2DCA8E0006; Sun, 18 Dec 2022 23:22:24 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A4D878E0008; Sun, 18 Dec 2022 23:22:24 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 800328E0005; Sun, 18 Dec 2022 23:22:24 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 642F18E0006 for <linux-mm@kvack.org>; Sun, 18 Dec 2022 23:22:24 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 22A2C140A5F for <linux-mm@kvack.org>; Mon, 19 Dec 2022 04:22:24 +0000 (UTC) X-FDA: 80257759008.22.6822682 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) by imf08.hostedemail.com (Postfix) with ESMTP id 65BD1160004 for <linux-mm@kvack.org>; Mon, 19 Dec 2022 04:22:22 +0000 (UTC) Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UIKz0INg; spf=pass (imf08.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.52 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1671423742; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=4bkaFHH9828XqB+keHudWE3HrJtGvwGZpCKERfRezL4=; b=70M7p0Opp9xqwKYlWw9lQ5cco6cXp2uyz+sryvF+9z0RM6/oYhwhoeVwlt+bHGrHkByWso d0vfNB7TM1RRhvmm12XA1CUvh27XtInBhzrwDhT/X+10hxvJ8B4aTW7IsXRDBbz6jyVBVp v0lWqgSpaKVldmV71U8DWVMF+kReey8= ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UIKz0INg; spf=pass (imf08.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.52 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1671423742; a=rsa-sha256; cv=none; b=vAEbJZlorTqst95S5C410TZJtyd7RkT3VO5Bt/1kJc/YcMhQYkL2Ye/kkgaNki3sqgElCT dYdfrBbstG5iyLID+1ERGGm+bPfc+uCZT/XsbXlhHhB6nyj71/RA0Q0Vy1Ew5IgIBPbZdh s6EUKF8noEATgxQf7uBj6zwzm5v5/vo= Received: by mail-pj1-f52.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so7697178pjj.4 for <linux-mm@kvack.org>; Sun, 18 Dec 2022 20:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4bkaFHH9828XqB+keHudWE3HrJtGvwGZpCKERfRezL4=; b=UIKz0INgkJM01u8DImabW8vV0MXUcqTEWZ6ucIGfJpJGp3Ik7KfefxrEs5exBi19qf XOlxIyF1jrI3Sq8Uxn+VtjhXJOy7+fB74CPXeuahB4jkAnrIaxlbygXxHDuIt7YxoZRY SEKriY2DNUbP0Dz1n2r3FsmrLK38p9D0i4yJyz1BoG8JXNOnHiXiBS+fb6ScQ8dmQxU2 /b1NwJV6ZymcsU+LSeAsDigeFh1FLNZTKynWuqlRIdJHw9djnkAV9Cncv1Kb1fH9oh8Y Ajg8/GvAGXhcsO/P7JDzYZlwUAH3vmMR7bOyjo8yFrMnt++B2ZI2h4gWSuOJlPi8fT9b Ppjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4bkaFHH9828XqB+keHudWE3HrJtGvwGZpCKERfRezL4=; b=LUEm0mES4p8Bo2rrdzkEoxq/qZ1BJISUeV3YBuUMVlZlSUHOACb0hwJAl4eHCGaveT GayIRLvT1JAA187Wkr195adEp9KjFfqkcbs7ygkYMBx2qJUuT+7eNm913QLYU6dy3Hed Ye3jsesAWuxgcqrVYe8XJAxqRC9yY+3NNfx44ZkjQm9v9KmbvnC5uce4UEN4uBlnHSJP fXRSeX2eC8PezfIcCOtbOr00u1dQzFwmBoxUkK9otQU1JiMC4vpVYne6hIpmyuF+p2MC miZadsTwNza8TAPrVV6a8cgvv9AoVLC8lv5NKjkDBpp1bWlNhoQV8UbBw0/eb+VUPDAg NVqQ== X-Gm-Message-State: ANoB5pk+9QHwXxBfpgY3kJnYNB48eVs1Lx/SD9h+DdkljKCYWs1e9Dmt KPDR2OwN+Q1isesTzUb+c1Ge31ODGYI= X-Google-Smtp-Source: AA0mqf6I7/d0mc3irtLSumffry2zYvwZBOzD461YgTGyJYmyWAUOgar/8T2H2806AsXi+Hck7ffldw== X-Received: by 2002:a17:90a:fe0a:b0:219:8cba:cbbd with SMTP id ck10-20020a17090afe0a00b002198cbacbbdmr42968593pjb.32.1671423741351; Sun, 18 Dec 2022 20:22:21 -0800 (PST) Received: from debian.me (subs32-116-206-28-20.three.co.id. [116.206.28.20]) by smtp.gmail.com with ESMTPSA id v12-20020a17090a6b0c00b00216df8f03fdsm8134652pjj.50.2022.12.18.20.22.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Dec 2022 20:22:19 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 2471B10016D; Mon, 19 Dec 2022 11:22:13 +0700 (WIB) From: Bagas Sanjaya <bagasdotme@gmail.com> To: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Linux Memory Management List <linux-mm@kvack.org> Cc: Tejun Heo <tj@kernel.org>, Zefan Li <lizefan.x@bytedance.com>, Johannes Weiner <hannes@cmpxchg.org>, Jonathan Corbet <corbet@lwn.net>, Michal Hocko <mhocko@suse.com>, Andrew Morton <akpm@linux-foundation.org>, Hugh Dickins <hughd@google.com>, Shakeel Butt <shakeelb@google.com>, Bagas Sanjaya <bagasdotme@gmail.com> Subject: [PATCH 06/10] docs: cgroup-v1: move hierarchy of accounting caption Date: Mon, 19 Dec 2022 11:22:05 +0700 Message-Id: <20221219042209.22898-7-bagasdotme@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221219042209.22898-1-bagasdotme@gmail.com> References: <20221219042209.22898-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1218; i=bagasdotme@gmail.com; h=from:subject; bh=WY+LE4Uwh5JcjEow4gYNYbipiHLpv95jOJMY0+5U34E=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMnzn71fJaiww7539/HXxqIn3C+/eS/vd6Yu/Gpqw6WMPKkb bl4ZHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZjIXheG/wnKDwPkTj3+u7Lw195Dd6 /bbN29cslWj9BNfq5itgw1HA6MDCeeahssk5yXulP18q5tq2oS7uZ/8lmlmDfpCae0vWLIOhYA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Stat-Signature: wtsb6urzs6teodcas8o173d473ckwox1 X-Rspam-User: X-Rspamd-Queue-Id: 65BD1160004 X-Rspamd-Server: rspam06 X-HE-Tag: 1671423742-983704 X-HE-Meta: U2FsdGVkX1+3U/K406f50iQc9dRNbsxo5a/XAkHBBSZz2QKUFMwZQ/QcP719eNEOnMZkEEJhlI82xM4XjFzaBpj6D8axTHvUb2LHoKNvYRtTHBIAltgks2x6RezI1GgCPGM4gdGq6dw4/hHrI8JepXnmRggAT65E4jV5fMHYsE36FvFHb/5f+5BfNXg7Y41pyEfrRio4v3GBMc28NN4/1CDwiwrPn3GH1GVLNgJhEg/WVbQaXaB6CnW3MBfpaQuYoWo5j732bWpOvv81iC0cltL5qulcnGnDern6OUW3q9Bp6Ch49wu3BEyNWfBt53iVBbHqTuq5ltJ0vvKZiM2J/b8g83U5RD69sd27lCDh5pD1J6vuUGvhLQx5n7oVI3raQ4sRwYx37G837yE1lbQtK6Rgu742W77wR/c4W3f2iKK29jgJN6QONfYaqQ6pPyN7j6a4ikMAzwhPTwubYcVoyTRXLRWXLO3X4S5804wAAY4sH0CRJJDBu03je7e0MFPpmZvfw15vkkripOttI3tvE7Ey2fNTSUbD5P3TU5kgmZqEWbVdj2Csx9z9ax1Doxj9+OyaHkdP5v5k590PDQC4I47FSyI7fVat6nESdJTldDmA/sgxRUDHWXjmsGQOAePbE+z74CrHQFll0X8tXG3vYZicC/z7D3BrMRdECB/jm0FwFKJ5Fk0Lo3PDoomrGnGv/LRr0XQAHLxwM7PYFTBtfzFCHcyNHrfRQF7I7jT4Q+8eS1IKMkUvPRP0/t3XK9d22A+saWXwfU9WQz7dwocyI1h3H1KH4WHKMrggkBt+puOs+0v00kCuMwZUQc/niz7ZPCUn9kD1vhzqY7yQYOneusmHmcAFKKsjHFenRMNFuS9QCgBbRASGvuzTnkHYFOMZeKBvF9lqbbNeAvoxyG1KPQbHqjatpdeq4ihebc3Eb+Q2TUeZBDc+ais7hDNbYB9R2DiC89XTgT3zi20+XSU vfclYU1O xe/omMt075Z8vb1F8LBzLt7qKPVg13u0bStj7uET3FQHKGiZ4cb9GdDOw4tiS8KuRKu0b6VJ/eHi6flp1NuXxHH7UMFGkQcOQI1j3D6S4ivQxwrF4EB7tDtMTiDuMPP/uzUkj X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
docs: cgroup-v1: formatting improv for "Memory Resource Controller" doc
|
expand
|
diff --git a/Documentation/admin-guide/cgroup-v1/memory.rst b/Documentation/admin-guide/cgroup-v1/memory.rst index 642ef0bb20380a..3b365a72996be5 100644 --- a/Documentation/admin-guide/cgroup-v1/memory.rst +++ b/Documentation/admin-guide/cgroup-v1/memory.rst @@ -149,7 +149,8 @@ specific data structure (mem_cgroup) associated with it. 2.2. Accounting --------------- -:: +.. code-block:: + :caption: Figure 1: Hierarchy of Accounting +--------------------+ | mem_cgroup | @@ -169,7 +170,6 @@ specific data structure (mem_cgroup) associated with it. | | | | +---------------+ +---------------+ - (Figure 1: Hierarchy of Accounting) Figure 1 shows the important aspects of the controller
The caption for hierarchy of accounting figure is in the code block, which is quite odd. Move the caption into :caption: option of code-block:: directive instead. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> --- Documentation/admin-guide/cgroup-v1/memory.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)