From patchwork Fri May 3 18:03:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13653185 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 B4FEAC10F16 for ; Fri, 3 May 2024 18:03:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 564206B0099; Fri, 3 May 2024 14:03:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 513D36B009B; Fri, 3 May 2024 14:03:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 33D7B6B009C; Fri, 3 May 2024 14:03:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 129A36B0099 for ; Fri, 3 May 2024 14:03:30 -0400 (EDT) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id B4C3C41158 for ; Fri, 3 May 2024 18:03:29 +0000 (UTC) X-FDA: 82077856938.17.87AD3FB Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf28.hostedemail.com (Postfix) with ESMTP id 262D1C002A for ; Fri, 3 May 2024 18:03:27 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RNaMciG4; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf28.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714759408; 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=VJyK1ETKN5HnPYL0DX5Fn45xVx/DlNnNoqpbx2IeSy8=; b=twthZmafLvBmLR1x7Adfn/L/E77pcPaiR4c9TGV3oYlzlwrLpXTRgUW2w1D/B6Bs/JQysH Fcyz4Qe3+4Qo1gLdvD17MS1vdAZMw68I4rVdI9vicd22NsdYVX2EgLFqDI+EK6jdKLNrGm 6IuqtY/p8ZYirB9U25WrQ7P6ANmG1gY= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RNaMciG4; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf28.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714759408; a=rsa-sha256; cv=none; b=u2XtAnSitmsJuhn9ZosVcgL0qg3wxhFNtSLtiUqR49Ye+Jqm/swA1WGtqiDr+dBtKagY1y +o5lGFhp7Apzvp5nBtRbETCQVSAFevGNYI4NBFNSPuvX3FZ2pds+vnc6A0wMmA9P2FWb73 xfpmPskkOcYqJdcAYcTxbrodcP1tSdo= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 66E9961DF9; Fri, 3 May 2024 18:03:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A14E9C4AF18; Fri, 3 May 2024 18:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714759407; bh=KPWNhDHoK1WCiSSpG+hqPSsIhkDFJ5Gj7faBmjSb9kA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RNaMciG4+Dgw2+9RRQO/lsyLSTD1cz1ayVlCpEn3dwnyprRbglpLy1lfTg7rGhZ4j bSM9JZFtnPhK9QxYb3PnrI0Ry8Tq6wJyWtpu+oLasQN27ysClArNLObWsQVzWWSidn Lp5HshD0xLuIeOqjMDAkwyoiCc1WOm2bRIekRbJN8awSmkciQlznyYd0PHIGV6Ud4z LwWIFN2MQq4Ff2wfvdUT3xD/J5oBoP7ffRBCV/EApv/tW9s2Wd1jmp8m4nSkSI61Fm RW5ugV8nhg5yAGArxE5dolr6yhf3PI12Mu5zxXfU2NMW4moeZPisjWtm2X1J7nfIEo M5vX5WxitzZSg== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 07/10] Docs/admin-guide/mm/damon/usage: fix wrong schemes effective quota update command Date: Fri, 3 May 2024 11:03:15 -0700 Message-Id: <20240503180318.72798-8-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240503180318.72798-1-sj@kernel.org> References: <20240503180318.72798-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 262D1C002A X-Stat-Signature: d7k7878rdpez4iinyqkedcnzzaw4w71y X-Rspam-User: X-HE-Tag: 1714759407-898417 X-HE-Meta: U2FsdGVkX18kqqODjFOPbtZgm7yKkYAJnkoxpXL7iLF6CeFtNcAhDR3Vz1/itE+L8gGpZ1Xo7LiAtYv9grx7SMo3L7wkZVt0njlgpNT7gQizwfLrLw6whKrkvivGdnw9LQUUREBLsBAAyqAG/mE86n8W28qcUyf5vZw3bdpm1n08aM5AEG5N3CGHTp47OVCZbZ7Hn+sKjZ5l5jJnqQdWajJSWw1gEk57MQd19FTiJIUTecjuOpajbhKs/qo7h0Zc38fEBEFCxVLIIcrS8k5Ca3wb04tRuiV1I4IsUtsPHKxwuSz/Xz2m1CqW3OiM+iLaHHJY8A1MHReSIxDpZcz6gX1UInhwpuxM/DEJbThdpclS7h57Ra5IFulntuLn5vXb917pKeKvXvxdKLE54gvlwnBNpreGGG2KgQK2wIiATE4zBnJEExYoqczDhogD2MRE6HkXFgrLEtiQk6ScSxbrX2iTskE0Nk4TQAn//jyjmyN7+pEVVOeVDu+HLw3gYxGQpY8mLO1UhpSqa6n5FOaegtKbZSbgnoHbS+3fH1vgRU7PzfiwOAaMQRAFV9s1VpnMGJQivaKPJ91oJJvQZBaeh+bLL3bs2gNvO0vqQUKkTUEVpiokeIOLLuQhuYFMIocP96Igd+FapsP8I+5AMlpQgeklxOKOWZ6KcLx1ejb6FldxWEi3O2+nkNR1nJQWXlnHk8MkVjeYqKpwN7nzw71LdaEQ68iUcc3ifSiLJ9Et7jjJKPP67kKFk3CZJLslpyFUb4SWznUPfNTS00AGdluAiaUncAiOUYLFhVNILXQgrudv0CfXZJ0oSNtXPlR8sNHQ6DL503YG7weZ+Sk75WUI7WFPwoa0/b3OG/xEWqBO3vyRDWunlT+YoxhSSDiDydPYciBdjFXyuleVm0KNFSjUGHxEURSgUZivehlPyl+tR3+pQouFOUc/E+FqCsZZLan6UIj9BaRTiBPfvjSNro5 8M8kZD7k 6Hk0Z1bcLUXPxa5h1mMTbOxU6wiBKlo4P1J5WRd2XNQoRugtouI5e1nprczeTE8g3aTFiGmqMgOJL1k4fBpTgwsuWPTeFe54TA95P5PQkwNqX3JXepMLMon+DoJbDbf1uNj5SbcBEy2NkN7c9IKQmmd6u/NobRL9sjEB+AxZSCCG/bQqcxtrWZtmr35/3l+7Tfm7jEmFHQ26pTwDjx/42ptv7oqCastvN5HpquCa26xJs2kcIkypOvYdAtlo/5UphOSXfVpljDFFVO5ryg9bg3vAYhA== 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: List-Subscribe: List-Unsubscribe: To update effective size quota of DAMOS schemes on DAMON sysfs file interface, user should write 'update_schemes_effective_quotas' to the kdamond 'state' file. But the document is mistakenly saying the input string as 'update_schemes_effective_bytes'. Fix it (s/bytes/quotas/). Fixes: a6068d6dfa2f ("Docs/admin-guide/mm/damon/usage: document effective_bytes file") Cc: # 6.9.x Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index 3ce3f0aaa1d5..e58ceb89ea2a 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -153,7 +153,7 @@ Users can write below commands for the kdamond to the ``state`` file. - ``clear_schemes_tried_regions``: Clear the DAMON-based operating scheme action tried regions directory for each DAMON-based operation scheme of the kdamond. -- ``update_schemes_effective_bytes``: Update the contents of +- ``update_schemes_effective_quotas``: Update the contents of ``effective_bytes`` files for each DAMON-based operation scheme of the kdamond. For more details, refer to :ref:`quotas directory `. @@ -342,7 +342,7 @@ Based on the user-specified :ref:`goal `, the effective size quota is further adjusted. Reading ``effective_bytes`` returns the current effective size quota. The file is not updated in real time, so users should ask DAMON sysfs interface to update the content of the file for -the stats by writing a special keyword, ``update_schemes_effective_bytes`` to +the stats by writing a special keyword, ``update_schemes_effective_quotas`` to the relevant ``kdamonds//state`` file. Under ``weights`` directory, three files (``sz_permil``,