From patchwork Fri Jan 10 18:52:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13935391 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 8340AE77188 for ; Fri, 10 Jan 2025 18:52:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D76B08D000D; Fri, 10 Jan 2025 13:52:46 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D25B96B00CE; Fri, 10 Jan 2025 13:52:46 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BA1028D000D; Fri, 10 Jan 2025 13:52:46 -0500 (EST) 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 97F266B00CD for ; Fri, 10 Jan 2025 13:52:46 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 6361FAEC25 for ; Fri, 10 Jan 2025 18:52:46 +0000 (UTC) X-FDA: 82992438732.12.170B9EC Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf05.hostedemail.com (Postfix) with ESMTP id B50B6100010 for ; Fri, 10 Jan 2025 18:52:44 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="CZOUza/j"; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf05.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=1736535164; a=rsa-sha256; cv=none; b=099KM85yJwP5/zrn4JlR19XiSabv55Tj8xNfZpmH3BQuHiWgOODK3dQfDT7QLdR7rFagmw G1bEGZtaoXp5matyGJbtQzGdyHZk0ik6FgV7mUqNn9ppHAqSG+g0DyjdZ//0jcNyidVEjO LGyyQIE1WzRIhXnvhuXu8eG5Q/LVAk4= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="CZOUza/j"; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf05.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=1736535164; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=zO3WhYXCz2vRIuWfey6mJ9EmuSnLmRAVX3MjZbqG2zM=; b=gscJHse2efoKflQZwSCLHSAFYLV6sKkJUOSczSp1Y9v66pPfwHf3HFoXKkyLApzYr0Xmrr Ghy4+U+cIhLhnvx7xRtjwsmgNjnyedxpvI9OLB/+Y1Z+ywcgSLKNVAfbX2OjSNS4jirXa2 zg5wwWcLP4Vd03QbCdeDTnG3WEKoYwY= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id DA9985C2F55; Fri, 10 Jan 2025 18:52:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62E3DC4CED6; Fri, 10 Jan 2025 18:52:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736535163; bh=aQ+Bj2xTqVO3IMkQIcaZrOE0PN1bTM2On8Eb95tnIgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CZOUza/juB/9t158ZUTYhyyXOlW+YWK8xda7ymc4LKhaB9KtBHAivnNhE7IxMe5Yn 9lbrtz83aZRFa8hkMUDOPbHyK57Liq/PQqHumsTR5FHTEfHKC0BcGZ3pJM94WmNYRY 3Zxm61uBPNoIaxDaNwc7CsldDmTTxPmwv8Qe1MCZERKqvLni4ANNMfHA5NmD8Y4gU1 CUCbCYeSJ5f4TMVDJll6uW1pX5XDTXCkf/Td+PWgsh+KebQWF2zhUmYEvo639aHdwB PGFOyk7yPoFaO9OUaeC2rdsdfezAzUY2xOxQAteQKMTG60YshYar4DwD563v+OF4kt dveLIVntFFbOA== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 3/5] Docs/admin-guide/mm/damon/usage: fix and add missing DAMOS filter sysfs files on files hierarchy Date: Fri, 10 Jan 2025 10:52:30 -0800 Message-Id: <20250110185232.54907-4-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250110185232.54907-1-sj@kernel.org> References: <20250110185232.54907-1-sj@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: B50B6100010 X-Stat-Signature: 6u81ss4fryqf4ytp94nwon6ymqniktn4 X-HE-Tag: 1736535164-695655 X-HE-Meta: U2FsdGVkX1+e6F0umZA40ab/uXGHOmkeb6Btd7HI8ZWgbXSuuxb0A9TyrsOGW3OFR/UrFOxsKCSawtKpqnsZr/L5uLe+XTg9jmlYDSEvqW4AIIA94XUzyCZI5qcF0XjuA9n2zTwpcH5s9GamVio0bj4xcgZdGFljRUD/3jWYCNaNmwVtipUo+E8HL24vrtWSDTEsFtP0bc8FpklfUUF8RDvyRpzaNQC/P61UeHxpb2X4yzE9Xix6tCHYn0pai42HbaT9ioDkFcAGMWzRrD+INVqXKUWeFFKvnBAUuAayEDtZYZhC/X5OHlH1iEESCgeRz+PLP7dtv4jV3cMZKjLf2L0pOiGasV7o1sqrunRxXDVck8K7j0njasSAzj3oRgDpDCB0l1VNyJI/hIocWsmj/1mOxVtJCL2fa5hCbYpPnsdal4nx4PCdk1KUlVqa8ga6Z0IbwjsQJtnJ3il+9vx6P7WPmHBJNKsBtomQfbAalEeqm6bShq+Ydcqff3LpTnedQGbnfGbNVuCAV99mt5RKVLRjplg62azhewLGQBmuos8m6ycnRqAry0/OrSMRb2UCMhCI/vJ+Puja243j5fXZKPHv22LU3gqpyuRJSo99smx8W96CO3j8lpjwqiU4uvxjU0i6ZAkOkmFYTzMeshOwh0yl4M4CN5ia/Uth8BX4fu3LISPdBZo1wd+ZnLOoKL0ruAiekU0Xn/FY36rvq9nZOUfxffNiMctAQQYGWDe9gJ2BUdK6UYiR0KlmotmkGbetxVUpl8q2rK50CD6zmzbF9lRkwp/z2jqNDFeJ1EvArClFnkIJ65CPGlQmjVg/6rb4kuOtRY+WyT4PeCc6FLNWj1ZAlJ+LV6akJBs6PK2gRaZzaBfrsDfJ6kvRm47cikhmBhAf538NCnd0aUGNcGpchpc1hCD99L2lnSPmTSnb2bdh9sM0y6AGjMGS75B1OQdAJMcid8pBaMlNRgC6veC xzu9M+Qt 2WzZJ3SOOAQ3+hxRczWVQqWZbgPAAZrfn/BsKZI0u3F7fbRioONOBKjfxxueBN0vrnybiP+En8FFUsGaBsihYKItptjyzqiiW3dJxpfp3MTJYs3bqNHlsmjMAmf8z77zM+W0zlXJM7t8/fkKpValwk32KLV+5wqyYHWded7vr1WaGirK/FLunb7wOJ3wK2zNkNHHHxMPTzrxorhBgWXu+bw+QQCIKm1D0KmJ4VYEw0uSdqPtClxuMutSLMpxvQDUhbTBzJ+A8QZVSCgjeuaEMJ+fmUcCwIPQh9a5qC/iWFIxkMYA= 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: DAMOS filter directory part of DAMON sysfs files hierarchy on the usage document is wrong. 'memcg_path' file under the directory is wrongly written as 'memcg_id'. Also the directory has 'addr_start', 'addr_end', and 'target_idx' files, but the list is missing those. Fix the wrong name and add missing files. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index f0d0c20711d6..47a44bd348ab 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -83,7 +83,7 @@ comma (","). │ │ │ │ │ │ │ │ │ 0/target_metric,target_value,current_value │ │ │ │ │ │ │ :ref:`watermarks `/metric,interval_us,high,mid,low │ │ │ │ │ │ │ :ref:`filters `/nr_filters - │ │ │ │ │ │ │ │ 0/type,matching,memcg_id,allow + │ │ │ │ │ │ │ │ 0/type,matching,allow,memcg_path,addr_start,addr_end,target_idx │ │ │ │ │ │ │ :ref:`stats `/nr_tried,sz_tried,nr_applied,sz_applied,sz_ops_filter_passed,qt_exceeds │ │ │ │ │ │ │ :ref:`tried_regions `/total_bytes │ │ │ │ │ │ │ │ 0/start,end,nr_accesses,age,sz_filter_passed