Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp2231317rdb; Mon, 9 Oct 2023 18:26:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFQ9Q7xo9v7MqTTWKR3yZ9pYW0vTiS9XlaGOhTL1OhdMMiVkkIejqlOUSA2kjiLk6f1+Ga4 X-Received: by 2002:a0d:eb0b:0:b0:59f:4ef0:b4b6 with SMTP id u11-20020a0deb0b000000b0059f4ef0b4b6mr17844400ywe.26.1696901197207; Mon, 09 Oct 2023 18:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696901197; cv=none; d=google.com; s=arc-20160816; b=LOCMtU8qLY9TSlpJbQW5Peu7RGBScgnzvfJi3jw/z0JPXWuWaKvPOkW8Lo+42dvA/3 HFkcV28XVXnVbTvWP/be1EAN1ETObH7mBumPepn8CfH8H8kglyyn5Jkg8k6tbNlgxgiM Y0yIiZUyhW4Yg+JKOo6WPtcxmQLzbTcgDxE0QDq1W3lWXmajnX1dvMvDTRzzgP/I2IL5 RLHakmxijkJWEyd832r0q2HrwbFbUeBPLCUW0nW1T/NJy8mn6Toa35+UOl3o0fPlRl7G jULwmf6y99U1KdVILNVN2kiFRYUhhQB/AV3MjZ0FXd8k1awp0wnuvSAHTpibY5E6p0gY rVtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=wWqb5RF5u3LfoSr5/spsiKSMAyxjfAb4rLdwv4pzIqA=; fh=cjv8+TZ63Co1l5yw6pZdw5NyP6++sWCb693WxBRE0rY=; b=LKvhidHGWVAfg15ytETGjMIbjF8ODsFeFDcRHzgYX123php2PlDQd4YSSk3JrldTeM Mb4d0rG8wTLp/KhUNSqqXn26j1HcSU//8UzTYlSofl55H14IlyWkK0+K3FzMimvngZAt qTpttPRjbK8i+v+sco4E1QASLP9edEcJ217yweFHvB9pRzQ8lKWTkzBmaduuGVJWFrvM CnQqkWzHMWrzNUxlr03rGHMzGDC7gR7vZFGcSKomOSxqiRByUbgdBs2+eoQcgl88FMmU X+DM3FuD5M/tQHz1hJ81L/svNG3JMp2yM3nERRKSnfT7Ga9zHclFDkW1Jw9BDbWCGH2U 4tag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=DinnA0mI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o20-20020a639214000000b00588fa0def1fsi5684282pgd.774.2023.10.09.18.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 18:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=DinnA0mI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 3BC7D809AF95; Mon, 9 Oct 2023 18:26:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379270AbjJJB0R (ORCPT + 99 others); Mon, 9 Oct 2023 21:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379272AbjJJB0J (ORCPT ); Mon, 9 Oct 2023 21:26:09 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66C499E; Mon, 9 Oct 2023 18:26:08 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93F91C433CD; Tue, 10 Oct 2023 01:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696901168; bh=PRMNaWi4eLwEr1ddca0C6ItteLnRKdFxcFRimSLMbuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DinnA0mIa0xXyxJyvyJPWRn0gfhZL4OuTtZEyU3zDNJ24JTTZMqczCXaW2VxkR2HD 9/SCzw1uhvAFQOO25rh75JnffxCNj6eyVIgAoSbetEBVXf7UZoouWyNpUYRhKPVzFL hsXezDNiIK/6jDuO3EJf2XG2trq4vlFHii7KB+umOOp6rlfwtGkO7RikibyFV9WOgB fBwpcMEJb+9ze5Mn8+zY9PMJoZiDp0LrwO/3PNxkdUjxCJ2TVeuVbNIBjl8+upxgTH Mag4Z3w65XlP8fXvzuI0flSiII5ELHCFKiSEEtuzTZqS65EarNJLY/SLDy6g5Xp3Cg LgwoNZvdyVH6Q== From: SeongJae Park Cc: SeongJae Park , Andrew Morton , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 3/3] Docs/admin-guide/mm/damon/usage: update for tried regions update time interval Date: Tue, 10 Oct 2023 01:26:00 +0000 Message-Id: <20231010012600.83140-4-sj@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010012600.83140-1-sj@kernel.org> References: <20231010012600.83140-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email To: unlisted-recipients:; (no To-header on input) 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 (howler.vger.email [0.0.0.0]); Mon, 09 Oct 2023 18:26:34 -0700 (PDT) X-Spam-Level: ** The documentation says DAMOS tried regions update feature of DAMON sysfs interface is doing the update for one aggregation interval after the request is made. Since the introduction of the per-scheme apply interval, that behavior makes no much sense. Hence the implementation has changed to update the regions for each scheme for only its apply interval. Further update the document to reflect the real behavior. 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 8507a6e45d86..da94feb97ed1 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -432,9 +432,9 @@ that reading it returns the total size of the scheme tried regions, and creates directories named integer starting from ``0`` under this directory. Each directory contains files exposing detailed information about each of the memory region that the corresponding scheme's ``action`` has tried to be applied under -this directory, during next :ref:`aggregation interval -`. The information includes address range, -``nr_accesses``, and ``age`` of the region. +this directory, during next :ref:`apply interval ` of the +corresponding scheme. The information includes address range, ``nr_accesses``, +and ``age`` of the region. Writing ``update_schemes_tried_bytes`` to the relevant ``kdamonds//state`` file will only update the ``total_bytes`` file, and will not create the -- 2.34.1