From patchwork Mon Dec 19 04:22:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 13076238 Return-Path: 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 4E1CBC4332F for ; Mon, 19 Dec 2022 04:22:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7D9AE8E000B; Sun, 18 Dec 2022 23:22:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 73ABB8E0005; Sun, 18 Dec 2022 23:22:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5B7578E000B; Sun, 18 Dec 2022 23:22:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3F1A88E0005 for ; Sun, 18 Dec 2022 23:22:27 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 06E891C4C61 for ; Mon, 19 Dec 2022 04:22:27 +0000 (UTC) X-FDA: 80257759134.08.389F20D Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by imf20.hostedemail.com (Postfix) with ESMTP id 49E7B1C0004 for ; Mon, 19 Dec 2022 04:22:25 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RehRdEZi; spf=pass (imf20.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.45 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=1671423745; 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=/nm7j4zp8S75Gf6ZgO/l+49FQ5Ia2zwvn+/ND79+AHM=; b=SVZFEeeHKfri7CuAvYq9Y4ZW1+6DmoWPSljqh7mqD088edBSGz3mvw9RGP5n9xqn3AXZqA LZ0BDP8t0Y+tec1v5QwZek1yOlcqXuvyY5tiDC8PQa1qW3shUIqeJWn01HYnpE6uWafj7F Xz+ULauz5jsEpwSQeoCzO5krSSUOnsM= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RehRdEZi; spf=pass (imf20.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.45 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=1671423745; a=rsa-sha256; cv=none; b=SiTz8sza02RFHLp53AoPywyvjPMFjYAMHS76/dV9Zh+yp8tzgUPMkZvwKWzrYB3HDMY+uK dVKmm1eCxV87bBEgPO88/VNyCd8LqcmDmSZu12DcHDjDt9XDi4hRAQ8Bd9jxqW31+tAr/y uWFgZmhaSefjIzKnYfbn6c8iT2dtAbA= Received: by mail-pj1-f45.google.com with SMTP id fy4so7886743pjb.0 for ; Sun, 18 Dec 2022 20:22:24 -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=/nm7j4zp8S75Gf6ZgO/l+49FQ5Ia2zwvn+/ND79+AHM=; b=RehRdEZifLMG395ppV/7LVvRdnCDdwl9Hfk5Mmn0sswBZr2pNnW1dWd6YtLlfrIL0K oqFZJeTpgIBe4v9P3jAHQ9dobxEbwfP4nRMw0pL4/19ifX9Wwh5VebaXq3G0TckKJT5Q 3kqZoZbODRk6hDbPJJd4GFJwl9htH2bxOx75GIbhK2rZIKB2c/2H7a6LVwPUGFKq6dG/ voKaNBAD4+uMB8PRT0gAzEa0OtrUnuL4iaXuxFPQ2hzvgPrPfj6mx/ywyY5yaaXZ/NLt mBvHQKq1T/lpaZO+0hDhimJVesG6NF/drKn9yloFBkV8jzeDVvtTEOdeCDnZ9BCUi30G zz1A== 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=/nm7j4zp8S75Gf6ZgO/l+49FQ5Ia2zwvn+/ND79+AHM=; b=FNreijFvsKvJnfYEjDJP1EW2sJIOvzFNQK5b3oOmRhrdLwTEB6X2dcDnF6A0efYtvN AMGoS99aYgF4PJuxyAyUIU+hM+wEWT6v3ND9lv0daCejZyWrRDcY5HnkaDZVFdcySOPz FAAptFjluHeC6W85IZwTyL8uhYLadSP+l7+1V8B/ryfEweBL2UHGBEqL8ZOI0Aj+T9NC LBKV2L4/x86r6BTgqJNLM3G48ljTq9G2+A2eJp6tHNiCSFNa66Qf7vqnbiP+de2MfoXa +wRl+6krwyAYyO1Do0tePqIm8IeF0nePIlLbOPSQUANWWJkZZSmX1kQrKqx5n0imtX+Z wpFQ== X-Gm-Message-State: ANoB5pmTSGY8XtnptW2EfsPKdi2PtFHy0Q6NN8wTR90Y5ItfHxxuv9qv R+UiM4GJZtZ9hMICzwKGyw9dG6gME1k= X-Google-Smtp-Source: AA0mqf5qxCuExoyYlyieMwjF0eKAXLuFPRct34IG3Wobwg2OKrtfxxsUeZlvXStIvh1gBbS1/p2qiQ== X-Received: by 2002:a17:90b:2685:b0:21b:c5d9:3478 with SMTP id pl5-20020a17090b268500b0021bc5d93478mr41654253pjb.0.1671423744293; Sun, 18 Dec 2022 20:22:24 -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 u31-20020a63235f000000b00488b8ad57bfsm2735607pgm.54.2022.12.18.20.22.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Dec 2022 20:22:23 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id 3A60E104053; Mon, 19 Dec 2022 11:22:13 +0700 (WIB) From: Bagas Sanjaya To: cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Linux Memory Management List Cc: Tejun Heo , Zefan Li , Johannes Weiner , Jonathan Corbet , Michal Hocko , Andrew Morton , Hugh Dickins , Shakeel Butt , Bagas Sanjaya Subject: [PATCH 04/10] docs: cgroup-v1: use code block for locking order schema Date: Mon, 19 Dec 2022 11:22:03 +0700 Message-Id: <20221219042209.22898-5-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=903; i=bagasdotme@gmail.com; h=from:subject; bh=myLqQWWL5ny5cfaM/c1+RVILw8UoUUmH9P1+d/iRWF8=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDMnzn70zn9QX8TP45KkeoY/d0cnefcv2Fi8TMpOtTxa/U5hk vTWwo5SFQYyLQVZMkWVSIl/T6V1GIhfa1zrCzGFlAhnCwMUpABOZvInhn/En+655Kw+EtDmba0gcLq 3akbQju8Am0mHuv99/CyRu6DIyTCuP1Cr+cCL9uti17M/FphdjK1O0XvOHHklgXN1wLpWNAwA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 49E7B1C0004 X-Stat-Signature: fkipn6hsi41swd76ymya1fowes9zqzfa X-Rspam-User: X-HE-Tag: 1671423745-903977 X-HE-Meta: U2FsdGVkX1/X1fSKHaGJ98orcrm0NT56Gik1oj20nFjTzjcUifQfv4yND51eCTqAiBs1XX31zZH7Gy1fqlhCW9/scmGUhMXTq6DEmyp3R49X70szS+wqm1/OQ72lSa+F3pCC45t8oa3uB1fSijNDTpp/TAKzP441G6NBdlkZtXXysl3MrEflVygk6VBpr02F4QyeGW8HOWH+11b/l78s6o6vnLMk/DyJlOEE3HPG1HzER4Q4KvygVwSBJ07o3Z6SBWvNPYPllUJD/m6pDqI437TgM94pNIDLQPPOdnnxTMuhY1Lr2CHCmLfPHZpmp9tEmaANGzJRe9/UvGBxaGohXhnU/AL8LTFtYhO/A7lzvhQaZgo6Bqq/U33MSwPfI9/Lcrvk3usfrbTL22bHQw7XfJI05lR+VzijySVhhsdjH8c7okUg9sf3QxY/3cFzlmf8UfcYryusjSsQQzFYTWNklJy6m6pltFdI849xptm2krJXXzf6Fwb0xY5rY/7cik7AO6nfkPAwIic/1jHMrh/rkIccx+0h+tHJ2TbJOOWoCKqK9RblbHB8+95EX+kOVOaLWIB3bKm/P4Igu/4kULwc0zVRGS/hscUzzu/iYCujekX+uDWeiDZUpGv7GezM3+u2otbutZtq/Pd0dym0MF8MB8tmSnA1IoL8qpI7+mpexzy2Bal43xHK9VbYAqz4FUJB+lIicN0DIm+5MURwWccvi6m0HV4HFiG5xoHtPP+z9P38k++LNJMLLUXLw7jZ65U3qFs9JIU6UNzYzbeqDFcJXCTu0Fwye2+JYeje2MQFuJFec3siGTChcXIclyGa9nhvxjW9Ip7m/4X0QdbSceO75HmVqxs3mIl+SUeqyN5b7eEOXpsVACAKMY1mG5UifGqxqt+pG4/VJQi8IjJNrL8JIIYd2P10zD+eA+AJNnjp29OueJkYvCGsB7guVzSTWeh/WyNLJcIBUsFfRFF+9fS sELSwVk9 xFPTPob6wPBowAJz1xJnWUlNcrDPGuRzPkZhhB1yXESw7QEU2F4pbERR+Aielf3ukViD6kYbe1ZUmQdjvmKTRUqtkAz2AyMv8evhif7fsqn7JXUGQejrhKTAunNEwYCvEd8Dk 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: 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 --- Documentation/admin-guide/cgroup-v1/memory.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/cgroup-v1/memory.rst b/Documentation/admin-guide/cgroup-v1/memory.rst index f828db2a671be4..c21ce0b906059f 100644 --- a/Documentation/admin-guide/cgroup-v1/memory.rst +++ b/Documentation/admin-guide/cgroup-v1/memory.rst @@ -289,7 +289,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