From patchwork Wed Dec 13 19:03:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13491786 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 06B97C4167B for ; Wed, 13 Dec 2023 19:04:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 031E38D0053; Wed, 13 Dec 2023 14:03:58 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id F24538D0049; Wed, 13 Dec 2023 14:03:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D9C828D0053; Wed, 13 Dec 2023 14:03:57 -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 C4B3D8D0049 for ; Wed, 13 Dec 2023 14:03:57 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 9CEADC02DD for ; Wed, 13 Dec 2023 19:03:57 +0000 (UTC) X-FDA: 81562719714.01.650DDE2 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf07.hostedemail.com (Postfix) with ESMTP id 6878C40017 for ; Wed, 13 Dec 2023 19:03:55 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e6h4+M4V; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf07.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 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=1702494235; 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=tg2uyb7t+PZjG0lQa6RK4Xkz+2cMWFz3xMAwaynfzIY=; b=3xoR6AWrpKOB08TPoxsz6ZAN+N5QG52ns/fg51njrcaXc11CbjQUehhvu1L00SzBNM+qS3 xUVYrIMf5Pp62KKpdUCJLhFvNNZRNkKbzXfzhJJPy9RieVNe7uN9AE76L8bRSVZU0jg5B+ WUSyLyh0W4eqREAEFemlyKmDBFbWppM= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e6h4+M4V; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf07.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702494235; a=rsa-sha256; cv=none; b=mDbouIvkmU6S9WydVgGPs3kldZX19V8B5RTIYuutNXLVWBYiLjVpA0BEaeD29VA0+LZvi1 wIAWCxV+HMzI1RLvIWXVv6o/Dg1Gp6Pc4+oAI8Eeedu3nVcknxPA28UknaHHdK/rfT32tX AZuTJW+ST3Q04rCXnjPGyTidd/JQxas= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id D2AF4CE20F6; Wed, 13 Dec 2023 19:03:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87CDFC433C8; Wed, 13 Dec 2023 19:03:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702494232; bh=pWtLPm1/J2Yj2cliVy3Ne0rBNlxUd7IWRzTe9t9tVB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e6h4+M4VC9qAjLnh23mRoTfYMBmcRe7YK9YydYIyZ09VAvI0u25sqAx5wFzEOvglJ bms5Ts/CteG4vueQMg0M8R1KIdBc+qylann1icA1m6XQNV6UlClJgSixwym3Q+/OPS 7hrXEww0BdjszDcObO12DcG5bh8L4kZd9r28ZQfQTwR1RIQSZRhdG1VKUCz0W/Ys2g nz+1I5d/UazRfTgZj0FBz50eg7TgQHkNSyjdp2e0MMuKAeTtxSJF2VfLkeNlzkwk3Y xGJSvQHRdo8ZPUBWZUjiNk4KmGiBYRjv4fZLRTXiDdfShsfeDmQgOn0LCEktym8yFU ZBkifW1LIrDiw== 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 Subject: [PATCH 4/6] Docs/admin-guide/mm/damon/usage: update context directory section label Date: Wed, 13 Dec 2023 19:03:36 +0000 Message-Id: <20231213190338.54146-5-sj@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231213190338.54146-1-sj@kernel.org> References: <20231213190338.54146-1-sj@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: nm44jg5pgdkh6yafzfugmj5gdix9orpw X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 6878C40017 X-HE-Tag: 1702494235-129139 X-HE-Meta: U2FsdGVkX19k0sPgKX1xNNJDhFuAsmhuG54GCJNe7u0pufHtxld5nvJfP9E+L/TykImEVP3NF4u07ZizB01bU25Qe3jrND3ZHMo629vPsyKth8LgfI4yVpX2Ocz8ZGX22eAPhHNFEmzrk3RIbp5L6eu504F/WISbVZQlENtFckSUigmQ3xMZYwsNwXFyqimRQnaP6zU891Xwwd95Lnoab8ybOy1eQl9+KDqPawdklkwDbQEGTPhS8x1CLxx9ZeIsVG9kdOdd+Dw80eWFKQJV0g+8elamY353iAoLdmGTykAZoZbNEp2YYtPA/X8LxNKMW6fVhkEZP+xhO0oQdEQRaEdCcakujwdpmwN2Zp+/HcfdJuSFUlkftp7vRfZ5LBbDDwtuLAfzSZCv8OhPuCo6jS2CPxgqpFFbOKcaQ3VJn7R6AHKl9z7jWoMojgt1IN6NjK9Ii53bYOKxngKIvpNcItq+5h8dOPl2zWmmlvIdlyHuh4CSypyfL7wdOosnaMKADQ2MkPw1ALCZ2S+zHWcAXv9dv2eJg7hrPYVGCUtoFMSMfVartgpddPfp5iDblLHsnaGuWE0t8E9pnVCORGHY/eOfx3evQWuMttCGqNREOE/cWiO02xPgTs6WBrkwIcWTwBWHF7cUrFoJj0XZtrbO+vbArGs3bLLkWLDyTHaoHp0GAOKGd2mqsi32lIrkkTuC5Gblbqh4/ZWnoC5qF8uA+T+QRYLj+0w+/VdxvY2UwFpzS+C2FC4BDG2iOOJb46ziAlMnUIWy3vyGTf0umSsalrTg21SBHrk485fPBAReLbhaYSDPdV9biyWnYq79TAmqQP1cnew0ukOvI03mGvrF19gxTUZtSWjXAlaxl1yyBLc+t4KdAqUkDGF7cOzivj/w2cZnlAc7WEHqp5/YIEsNq73kfBeczyGHEbszWajeGogY9iWQjk7yJJqH7zh42fb7lZO3B45LOCwjOblu0CB aco/OAeS 2w5EQ8MCqbbfbFhUtuZiRO/oOEEz+q7QOa/c41vPsjjhvBYIKZNscn1NM7a3OjGIV+4K25TbEl44RxSj1LtlWdlwlqiKinod34Agc7vb+uXskGbtyqQ9igtXkr0672Qs+jUz/GQKlg9X0A9ykg5t89u5BpZY0bXG9TOP+6bECymB4K5+iI5VNZgtmYsHlKgQHWAQ7Pf/898aaFG6E71ATRtfar4KDk/m2+jiuqYibi3WyPGsky49TECR6tzeKD+S/mfuRqiMZ4LKSaII= 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: The label for context DAMON sysfs directory section is having name sysfs_contexts. The name would be better to be used for the contexts directory. Rename it to represent a single context. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index ff9f62e65722..d3514367703b 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -164,7 +164,7 @@ number (``N``) to the file creates the number of child directories named as details). At the moment, only one context per kdamond is supported, so only ``0`` or ``1`` can be written to the file. -.. _sysfs_contexts: +.. _sysfs_context: contexts// ------------- @@ -288,7 +288,7 @@ The ``action`` file is for setting and getting the scheme's :ref:`action from the file and their meaning are as below. Note that support of each action depends on the running DAMON operations set -:ref:`implementation `. +:ref:`implementation `. - ``willneed``: Call ``madvise()`` for the region with ``MADV_WILLNEED``. Supported by ``vaddr`` and ``fvaddr`` operations set. @@ -428,7 +428,7 @@ pages of all memory cgroups except ``/having_care_already``.:: echo N > 1/matching Note that ``anon`` and ``memcg`` filters are currently supported only when -``paddr`` :ref:`implementation ` is being used. +``paddr`` :ref:`implementation ` is being used. Also, memory regions that are filtered out by ``addr`` or ``target`` filters are not counted as the scheme has tried to those, while regions that filtered