Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1958091lqm; Fri, 3 May 2024 11:05:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7zLkwDWAiMaZXLvdKk8TzrJCdqn2geiv33y5dlouaLRsokQOJ7qzdtIsRG4+/HF/3p5Nu08Z3VTrdMZ9brY9AV4aOSIyO5cuFoICyZQ== X-Google-Smtp-Source: AGHT+IFfCKjzBP6G9yqxXNf99KhI1QB6/fh0qNoST5vX0WiHVnyfYrczHjHS+MNUJytEXJUAx+9m X-Received: by 2002:a05:6a21:800f:b0:1af:76ac:4de8 with SMTP id ou15-20020a056a21800f00b001af76ac4de8mr3356057pzb.6.1714759509120; Fri, 03 May 2024 11:05:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714759509; cv=pass; d=google.com; s=arc-20160816; b=YJGHKVHZyNAujRy0ROVEbgDWzrpVUoRhmsEA9NbqkirGlTGRpFHP+DpCRf51JpTpD9 e3IrDpFNgZWj5BpZ8gxHb6F2ZyIfdZ00jc7ef+7CKaKaLBYpjbPbg3NKHTSTEfRGmEdn KsUCLlRs/qxPoAQGyXB+INJAvzxWvrT6Vhj4AZtqAblp3c0544W8SQSpfUf4G3khgET8 ToKZNejGufRqRuDzs6tFN8rOkduMGo6xxfjPYwWyNjUoebo/dbhfzJSX7otXxzkkok2k /4OaIB3JoMvB5gQqMB3pihTaVZHKGGiS8xFpWy/YP+WjgHn+V/6h4Cpa/8POabJb/PEj hdTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=VJyK1ETKN5HnPYL0DX5Fn45xVx/DlNnNoqpbx2IeSy8=; fh=T+kufh5lBR9Gt8YoTrlk7dB/LIDiLonUf6fhQlJ/Cd8=; b=kFdYd4IZtaQepEsHogQCuLar9KS8wV7si4TplTluleLFDqOGkTrbGIDnZk/z0eO9Rt 9iYZ/HsIZDAd9kxVBcSKT2QUTM6FEeZd7O6hqfRfuL+8sQ8EZoDnDeezYFLwD9fNY8vC r8krJRTpPEBBia+pke/x6WW5IOYWGg7X7Io4+qtH0Za40SEgxKjwL7PmB9iy5o3h9A3g dTK7IuXz4Byx4R21jaDJ/g+KJxhP1Yf7u2GHfxPAbUhp8pwYUKCHKpwXDAifpNcucYyy 8k9alrkvwF+pUfNPmx4leup+aQtBr+nsIiI+Suqn4aDcRiCnNVoGHVMmWc3CZxT+iNfD 2PVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RNaMciG4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h2-20020a056a00170200b006f401d9cbf6si3430485pfc.354.2024.05.03.11.05.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RNaMciG4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E8825282533 for ; Fri, 3 May 2024 18:05:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D067158860; Fri, 3 May 2024 18:03:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RNaMciG4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97F07158D7B; Fri, 3 May 2024 18:03:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714759407; cv=none; b=W5AOToa9PYu/SoXz2csa2EsJzvRjRokvaJqv30naTXS5yGWhNHSX77m3eSDC640XI4Ax2PA6ASAWo1XDXGN7qvIvRf3K4UMagL8/fUtfRJ+Z6TBMPGh7Wb2iXKT+WPU3qWdbEZzGQEJplwu2iViclbTZ2fi8mjaY07AkuZkuOIE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714759407; c=relaxed/simple; bh=KPWNhDHoK1WCiSSpG+hqPSsIhkDFJ5Gj7faBmjSb9kA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=hOzSEVzkDcYiT1nb6Ew0MrQf5hC1ju1lc+UHyoodixdBmpcd+sbjyhadfj20ewiOFIRYYJxBukhBqCMbYb9r6bMJfwsx0dekJwX/zNw24ty9ecaOYjG7phbbFJvkB1Ps1EDjBsMxhb8/sPXZ4nA3omq2XGIE1NdSLdYwwQL4Lag= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RNaMciG4; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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``, -- 2.39.2