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: 178265 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:3b04:b0:fb:cd0c:d3e with SMTP id c4csp8003728dys; Wed, 13 Dec 2023 11:04:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IG355P0qweKrREIrcHnwNcTbyE3i6G2XTVLN7+uub+mz6AnwHz6i1YuXfF7+4fYghXm0YFz X-Received: by 2002:a05:6a00:9382:b0:6cd:ecdf:b244 with SMTP id ka2-20020a056a00938200b006cdecdfb244mr5823085pfb.5.1702494261537; Wed, 13 Dec 2023 11:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702494261; cv=none; d=google.com; s=arc-20160816; b=z5SvwDkXautRtMc1ozYelYL48rwtcvEg4j0r7779K0A7caig7eSBGMQAkE0dBP6/gd YVBgojRG5uqQsWXml85VzB0fc3CsKTzjPL3QNqmrAlumlMuhnLDkGtvtsQgeb5ZD4ElZ zPf25szErL3dv780C4tQ/aigXA3bAURJ+fM199E3IHQzQDyt/5JL/zSmgiiOm3pZyO5+ 5BWhufKk7WbF4bYbxKJPSquWjwb3JIUpx024tBr7nvfTb8wQFm5I/AZ43W+EP4CZTMDq K9ggGnF3qJQGGaFtuaJx3IEYtORbFa3kAhOkgmpG9Z2WrWTcseLijSs73xiqlfLNmH/Z bY/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tg2uyb7t+PZjG0lQa6RK4Xkz+2cMWFz3xMAwaynfzIY=; fh=jKijsxc1Z2CHKVFf4S4lB42jMLcn6gTpewOn4Tq1/VM=; b=ucF/h5q6e4HT9l1Lepou3yc4w+cFyJzwDYUDBY7fOVzCshSOJKtIprVtFEFBByipa0 hWJ6pvxHg48I3g7onqNxrf0XAGfOwYyL2Idr3H8qb55pbvwIYLdKPbSp6m6b7QzsMKtO 913MA8CTfudGN1O4OC2JaYC0NVJG+xyc4gAyfkJ51hnPwFPZfEguP6JFuabwCgqpn3Ju q2lxYq8HjEIyAFoS1jdCP6AIT6Cc27S0w5mVcb8QTsoeTMtHTzFGt7JKeQRIXXCS5z3m rQIUym86CFVCi3dyperrR6fTubGl5eTxISkRKl5vBg425QDRwarmpaqp79FhPqFhlXlq rybw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6h4+M4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q13-20020a056a00088d00b006d08892e9f8si5936722pfj.124.2023.12.13.11.04.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 11:04:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e6h4+M4V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4529A80BC504; Wed, 13 Dec 2023 11:04:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441827AbjLMTDw (ORCPT + 99 others); Wed, 13 Dec 2023 14:03:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442025AbjLMTDq (ORCPT ); Wed, 13 Dec 2023 14:03:46 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5F299 for ; Wed, 13 Dec 2023 11:03:52 -0800 (PST) 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-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 13 Dec 2023 11:04:17 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785194622899265539 X-GMAIL-MSGID: 1785194622899265539 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