Message ID | 20230105131633.553574-4-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 A2E14C3DA7A for <linux-mm@archiver.kernel.org>; Thu, 5 Jan 2023 13:17:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9CC698E0003; Thu, 5 Jan 2023 08:17:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 959928E0001; Thu, 5 Jan 2023 08:17:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 844058E0003; Thu, 5 Jan 2023 08:17:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 789868E0001 for <linux-mm@kvack.org>; Thu, 5 Jan 2023 08:17:08 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 4BF761A0DA5 for <linux-mm@kvack.org>; Thu, 5 Jan 2023 13:17:08 +0000 (UTC) X-FDA: 80320796136.28.721FE3F Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf30.hostedemail.com (Postfix) with ESMTP id 58E548000A for <linux-mm@kvack.org>; Thu, 5 Jan 2023 13:17:06 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="XkW/T1so"; spf=pass (imf30.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.214.174 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=1672924626; 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=XHKqH/mTeMAtJX+k1fwhOFwTW56tZzYBJVqR/bzkhlc=; b=62XJ/Z9CVoSbpGb9wWgInxZT2En+hjQriGjmRSNP50euuZVAWJn/89ENM1gsOAD1z1OkNj KAuEPQ1UWDl6Y20bX6aLAq36FN8lPr7Lg7q2UkGU5yr9Ve5xrmeQ5IM7t7RwwjFEKUiKiN QxyNyML5NVClK4Wolt4S3Lhyi432tHg= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="XkW/T1so"; spf=pass (imf30.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.214.174 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=1672924626; a=rsa-sha256; cv=none; b=ZcihzJvK0KOKgwuIUG3mUFV8WsPga8/DVRheaj1PvoxtqbBd8YSvfnfwgCjg1Jpi4FjJxE M98SVPQeKw/pVPOLM3gycZPwjb9eQei7n4+mE02yM+S8jRyHTOGWvypxQFq7viYUn3BlkL bgXY6y3JgKKrYAO09/uF8BkpkmKs0G0= Received: by mail-pl1-f174.google.com with SMTP id jn22so39263919plb.13 for <linux-mm@kvack.org>; Thu, 05 Jan 2023 05:17:06 -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=XHKqH/mTeMAtJX+k1fwhOFwTW56tZzYBJVqR/bzkhlc=; b=XkW/T1soWfm4Rl1XX1uhjbNQfx1mx3n00vAID2EM9vtxWbYXinFO4hH0F/Sh76u8Nt T+gnK2msfrDFO1KmUccj24rF4UB8vifHeM6vVJGG4BqzWmkF5LR+KlioizvkKNFhtzGI DqZ08ByEgPPDNotBdzpS9VmCEyShtWZsvx3n8EAJPOHu1HX5kpNBORHmuWbj2c2tqTYV kKkA+xB6Fxx4Jc5iZgdCkvewR5ElvC1Q8mCbRjR5m0aVPDHOhmprl5Z6bpMJhV7aZOd2 jqwuT8bQYA/2qPzKPL/nYTtz+E24L3VfdAWrshv08AHCMMHGZLUBryatFJX7kP89y92r Wa8g== 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=XHKqH/mTeMAtJX+k1fwhOFwTW56tZzYBJVqR/bzkhlc=; b=oYg93TYkjkz8C2LmMldB9uXbJLxolllDaG8kza/5xRF5ujCLVS0y0wrs57IE2mHGT2 4SDWHuptb3AvxFFVyTQZy0f0aEg+xL+rnQYIqF1RoLBihd62dHN54LJG4XreEgEPe2cD HAnGkLzJvh6EQrX0f1rzHMMj/JgcIDBCWwSr7bR/MkPZlpB7OT6g5KmAS98DviDtxpTR t/yz8hWJkyYmt8Dhu/bhM2feC1GVuuAuIxNe77/pJ8YBbu+LNeopP4CFAE7y4+fmtA0D nOPJuPvenHNH3iOZCe2haTVW9GZ+mawFf34pp88few+cZ57TRNJEnSKJyxj2Jp4PbMF/ d/Xg== X-Gm-Message-State: AFqh2kpGRc9IOYhC7o6o6lB8ItOze8IPPZWml2Sx5DtWdk+RdB41PgJ1 ELBaWPG8bjnkAA1aCJ/Yj6g= X-Google-Smtp-Source: AMrXdXuI/wFI9NZprHDOZ4C4Pqbm5J8rbYDJ/NE13dBSqovxsPA/Y3l0huJb190MwMO5oSrbIdxjoA== X-Received: by 2002:a17:902:d491:b0:192:ad82:dc98 with SMTP id c17-20020a170902d49100b00192ad82dc98mr31433592plg.34.1672924625229; Thu, 05 Jan 2023 05:17:05 -0800 (PST) Received: from debian.me (subs02-180-214-232-68.three.co.id. [180.214.232.68]) by smtp.gmail.com with ESMTPSA id i2-20020a170902c94200b00189618fc2d8sm26053948pla.242.2023.01.05.05.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 05:17:04 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 9720A1043E8; Thu, 5 Jan 2023 20:16:59 +0700 (WIB) From: Bagas Sanjaya <bagasdotme@gmail.com> To: Linux CGroups <cgroups@vger.kernel.org>, Linux Documentation <linux-doc@vger.kernel.org>, LKML <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 v2 3/9] docs: cgroup-v1: use code block for locking order schema Date: Thu, 5 Jan 2023 20:16:28 +0700 Message-Id: <20230105131633.553574-4-bagasdotme@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105131633.553574-1-bagasdotme@gmail.com> References: <20230105131633.553574-1-bagasdotme@gmail.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=903; i=bagasdotme@gmail.com; h=from:subject; bh=IgqigKn9DkjPklU4lRTNbnqTt63GfYY/akiSBYrKIlo=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMnbzq4XDnK5Z2Dspp/XK6O/hDH/vy9jfrHcT7XO5Wcey2i5 SQp3lLIwiHExyIopskxK5Gs6vctI5EL7WkeYOaxMIEMYuDgFYCICVQz/a/lu5hjddea89ev3r8tRkp XRb02+MnYu/XFlWaNkJntyKyPDAc1vbdt6LNecrSx/q+j+h/XJHfs98c6Fk0yPFO7av6OBHQA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: 8bit X-Stat-Signature: fc5udjq4ga5x4epu51hjwef6f56wjfzy X-Rspam-User: X-Rspamd-Queue-Id: 58E548000A X-Rspamd-Server: rspam06 X-HE-Tag: 1672924626-834653 X-HE-Meta: U2FsdGVkX1/B5pPjBuW1CLTzc2XEWqU9Encfhn3oqMKt1TrimQN30JZEbTn9pWjczoNf18br6EB1dHo/9mH/gif13sZoyPUdwIeNyZUxfRuU27RrSRJcFAw/8yLj0a/vbXzGisldZdfIOqMmVvgZfs9VY/TsYAWdaaxN2ww9chp+pKqFAZ0Kgcs0BNW2SZOcjcV2lCc81UF6zuTRXU6KzIiYdVpO80hBgTdM8/milynPxrKu7kQriwMQlm0tJQ0fPgY/WyAe3b4nCE4lvDFMbrghzAqGy/L4a5oG8TUwVz7z1orNeYy8UqEOiL3D/CVLRby2camHME9i8kgmCzUvVlFGqGj1k8J+bHwny8b6wHFsRc7v0UWCR/sUoYXVfh6lOCcuRZ9afmPk0Re+8NrV5Mi/PItcpy/6VZiLuZ/EynUONTCpVf1Wgg/GPtA7LigVi3FfSuHblwTuzzG4WJpjiB4M1KIqnqQ1hiEA11jKqcX23YJyBTdUZIxUDEtJ2C4NCj10bouC+z42xFWoEcuL8EKWXctXAW1gclV1QnE6oIoomtbAfU41kXo4mqVoOKhg7f6iVY1CBSqHsIrTnn8VY8jgUot4eyR6XawnpyO/2MTAVKY5gwlBmy2W4SOGx2xR5kKompYrA/G+yrsLH7qGsnBDiY27LrufZqmmH1rnydT6lamqLnT42c8nlAAP3VgKzPecTGXkLPlpC+46pm2BWqypSkZc48O5ljN05vx3vLQ3FOZ6q2OBcIRVlW+2xbZSeJNy2bJjbPg3vbw7eg22YM5GyAFj2c/a6u1VJ9//6TditSzrLww8rUnGzj8PjzGLPBxD+VO2aDDRDxqOP3Ckgu6SvyMQfm/6bOiHyrbJBih8sp6zh12oLY9W+BkLAzM4LyEUsR+U/pRWdCDPXWw/o144kzSlCJ3U5KhrErjuMvYK+omG+1RV3r26M0ifQAMLdaVk9JQ5YusGjKZ/GWU mcabImun aBLxjoAPtYZ3SZkITsTzp0g8EaBx1FuxUGN1T40Mt1L43a7ecXcK0JvZa7mf8tXXQ6agO8r32lyzX4ZEkPpf3VMOJ9+hJY0Lv4wUBfF3/97FSRKfyYGrneJiC3vv21Ff8yH6Z 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 b0353c40639b7e..2b807fc128c662 100644 --- a/Documentation/admin-guide/cgroup-v1/memory.rst +++ b/Documentation/admin-guide/cgroup-v1/memory.rst @@ -287,7 +287,7 @@ When oom event notifier is registered, event will be delivered. 2.6 Locking ----------- -Lock order is as follows: +Lock order is as follows:: Page lock (PG_locked bit of page->flags) mm->page_table_lock or split pte_lock
The locking order schema is a figure (like diagram), which should have been formatted with literal code block for consistency with other figures. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> --- Documentation/admin-guide/cgroup-v1/memory.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)