From patchwork Thu Jan 2 19:01:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13924852 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 97191E77198 for ; Thu, 2 Jan 2025 19:01:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 010486B00A2; Thu, 2 Jan 2025 14:01:53 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EFDDD6B00F4; Thu, 2 Jan 2025 14:01:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D9E666B00F5; Thu, 2 Jan 2025 14:01:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B46466B00F3 for ; Thu, 2 Jan 2025 14:01:52 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 3FD5CAE9D8 for ; Thu, 2 Jan 2025 19:01:52 +0000 (UTC) X-FDA: 82963429752.26.7CAD742 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf22.hostedemail.com (Postfix) with ESMTP id 1425EC0004 for ; Thu, 2 Jan 2025 19:00:57 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=ZgEmnE9M; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf22.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=1735844463; a=rsa-sha256; cv=none; b=unqoh7YNQWYD41wnBo6z/1fmL0ug+qyADkrDlKiN240zyDH6dtXWzMyIjBZ0j6uJ4Vwdh5 ZP6R2PrEJnDW+KEmVsUuWynB1ZXQ7aU/ojw0oNJ8826mQQEBxImeQWhXgjJTbH6GjFIzkw UY6LrMXe63cWufpw6jWk+QsP/Tn2gzM= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=ZgEmnE9M; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf22.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=1735844463; 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=qvuqVH81u6zvqae4ZpY8I8lSR4aKbFiaYqkQM2a8aD0=; b=1X58XRsGvOItDJhMQLC7kJ+c/3tYMBwrKbC043C0Rg8FqYjDJKipplBUvYr1Q0U7ALej9E Efwz1bQFcBdwRiSkTuQRHx/fklIbw9yevwJO0Q0d8JWf23yHUHyXAp7OtyESYfLKKCspe/ 1pKZNBU2k6ccK3ZLtZ/Uqp6tvhIdIDw= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3AE3B5C6214; Thu, 2 Jan 2025 19:01:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 171AAC4CEE4; Thu, 2 Jan 2025 19:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1735844509; bh=UnJyVIKRtYQAQG2EpBsfZO/49jup78sa4mglOLthEos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZgEmnE9Mp+px/eZdPFF6nYV98HWNhak7ZEWvExNSAZWSqNJz++d1+QOARODg/hjtD kRyHquK5TdesMpSfbHw6gR46FsyYN+shjdMQV7QM+OFKh4qYmYkd8mKlIEV7GavxNM GiGbZiLU7z70TNxyqLu/K95kYCo5HAfOOKoGDgONllRE8KZsrPUUygBRk/2+wF0fxk CcmeP1z4hxLeeRyXwNaOvbr7UAPLr7M5ZlXin/3I0RHGA0EZj2RGDFAsIIzLdlb8qX aA2oNPHrlxRui+fJ7FmDiqZRiZWsF1hgOjQxBJZvO7J4PO1YjhcmWuVqi1eSSMId+Y PlaDp0WA9gSIg== From: SeongJae Park To: Cc: SeongJae Park , Andrew Morton , Jonathan Corbet , damon@lists.linux.dev, kernel-team@meta.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH 3/5] Docs/admin-guide/mm/damon/usage: fix and add missing DAMOS filter sysfs files on files hierarchy Date: Thu, 2 Jan 2025 11:01:36 -0800 Message-Id: <20250102190138.47258-4-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250102190138.47258-1-sj@kernel.org> References: <20250102190138.47258-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 1425EC0004 X-Stat-Signature: jhrcg4jb7m7qtwu1bd91xjpq7f4e43ec X-Rspam-User: X-HE-Tag: 1735844457-802721 X-HE-Meta: U2FsdGVkX1+nrdw7Vtn4W/DGnjBKyM5a9/PoFSj8gKpOriwZ0ekjtj+qKS/NWsDh1WOAMFEZwgMLuVXrauUlmXLtUaBP7nFDU5LygCgvFhoUcX0skrplhEysmTsO/7WygES2SnCOyCnPWoOw4EgY1lmZehpynGc1I0pmJYpxkmega8Qm/Xhfz0MuHuOYMuvDaqxdDRwm4cXG10FXewX1pKlf91w7rLrvlxICVqtwlhS8WD5a4VVXDL3YBbvA5MrSGIQsYcw9SCqiyT6V6l7ID+SdOe/m/m8iy7U4QiFWJg3HCxDLzDlNXmLztVaQ5R2ziS+BAv2om9LYQqe9KTUC5O0Nm+j5C7mVhECW1zhzry6poHnZcp3OSLLI+e+8++rAPhGT4KyrmAPszG9/9tmOBaUlcAxvwiLfA+Q0Af+vFdE+4iP/ZxkgA3bJ9q61czDwquPLjhUl8qOWVnDHIxpk+AH4Wi7y+4XZqTbkDlKiwsZTcEVZKXyzEwczUXw+ZStdncnnGr0Ud9CEO8tse1njaCfTpcBfwq+dqYLPR+n6TekKNk1h7oN5TRjaoJF9yQNlCfiwxnEh4uSt+SkalJs2Y2hDIP5j187k/PU6md/vli98xx6VE+TQzRe+Lh1kkeJHst15hrWxaDQlrzhuU62sTngndcblqEtwpB7tNZLvczBQ9P/Zn8/euHSlA9YUWsiguWci/OoI/Z3iXEdbIY4IVBbGJjegd5kHiZd4jzXlvgYFcc76nMNdg+Qs0KVi0yraT1260sNU6dbtceqXyLK9mbxUzaRkPYPBhRCOqOhmDfOWP6pcDog7BfvpgYzDX8Q4KvemqKkTNHGG6UEUJEMsqRTMt2st7BCWrnZfVJZ2HBnpb8IGsD8DC11zG+gjJxQp2TboNg21G0kfCQqiZ9TRmWUOW0vGjv+plkHk78hLUZhWosJDPyqaoki93wZHlOTJaoVxjvIiq5B/XyFs1Iw LkOXquZA 7Td1oLXNhd/BqvV5nQLcjg82reu1urcnm2qPx6XdqJnT2KdoAWdjefCQYG5u2C95H3dQv2auNkK+TEw9Y+GSMjwsC5O42o+8yLtXsUDhBPFh8HVmfhC5agfCiEHsrJcI3C5613yJPYjCxeaaqjmYzMRxtaLEWme1ySLuk4jHzJLLsNKTF+caARFSBRWeMq2PDXWCT9gsprVVxCPo1S7SoX4wC99LVCDiViJvrxLVxvOTO4025BZT4vi7gRrTMZj4UyQmqZ/NZEcFzcMjEzxOOm5rCYUYlAblZ7fB6KEi7EmzWvbc= 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: DAMON sysfs files hierarchy on DAMON usage document is wrong about DAMOS filter directory. The directory has 'memcg_path' file, but it wrongly describes the name as 'memcg_id'. Also the directory has 'addr_start', 'addr_end', and 'target_idx' files, but missing those. Fix the wrong name and add missed 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 ab343d6ac771..022f72cf5e14 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -89,7 +89,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,pass + │ │ │ │ │ │ │ │ 0/type,matching,pass,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