Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp254793rwi; Tue, 18 Oct 2022 17:19:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7penXWEDaHWtlGTQcpx4RD/JT8x0q/eHKchTbBzSKO93LIp4HT61amebmOWXlHhJfb0G1u X-Received: by 2002:a17:907:968b:b0:78d:f5c2:70d8 with SMTP id hd11-20020a170907968b00b0078df5c270d8mr4399187ejc.564.1666138781897; Tue, 18 Oct 2022 17:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666138781; cv=none; d=google.com; s=arc-20160816; b=CFIOEgTcoGxeIplgNOAz7iughTlcKNICXCaZ+lIfhVv09VU3nt3RB/pfCKMT1BxoEz TZoh+fAEgk3mXSqr8fKCQ4Ghq5mEVdWFAWcIWgDvkpfPQB4b69UHQCeRHdEz7eZpsIh5 vBt82CvGM0T8GNmWu8DlKeWpxn+eggKe4MNcUvegxPXFv5eO93rYLoPAvTcBypTFwWjx mp+Fd3cjEIy5H1I1cDUalHTmdc4SgHJ1NHHgHAr8phTsDCGYqFWCXFYTqtreQ2blmc0y vP3ZytuoYdJtrPgT3hMQvEmiLod5XrIPz0AqBmAgXbIK8Tfxeiij1nXlnwlKftQOriqn d6qg== 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=ObuZobCOmA+/1AfO4fDp+kqP8RZQD5GAAz/JGHNZMcM=; b=H/1TZGIJhIi7NT8lkOA8MAkI5aw/Y9qXYFAGqp1xdLPM2kBR7pEz/6puy1smeDyS/V 4EAHzZc8677aaW/8VQngyZDcwUoRFfaQ57YxHZ5sGblz0WxF0I7uJIE3lgF+9C3PfF7K z2oLxhkqA+RIzZtBlaKZMhvSQqe4ZlUx43cmYBpHS7BMsLtDT3l+zSzSANxxPfY9diSZ p4aZ8OM7jqQn1napvTRvFdJ6C705HG/t1/LKSBTqo7ndflXABFNhLmblvhAo8SVzqB7F OO+fIBooVbPuZLkq2gCZGM0vosGcaL6d2jebBzBOcNYb7fwO2o4KGSn2g5dqFJB47aft 4YiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZpkZct+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020a1709065fcd00b00740110c599bsi11281022ejv.146.2022.10.18.17.19.15; Tue, 18 Oct 2022 17:19:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZpkZct+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229767AbiJSAO3 (ORCPT + 99 others); Tue, 18 Oct 2022 20:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbiJSANk (ORCPT ); Tue, 18 Oct 2022 20:13:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4017DAC62 for ; Tue, 18 Oct 2022 17:13:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 08298B821B0 for ; Wed, 19 Oct 2022 00:13:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65B29C4347C; Wed, 19 Oct 2022 00:13:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666138413; bh=doMLACqMRf7Btau3UrqaKpcKCYcm6Tf1YUcPhkzG85U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZpkZct+MGl/kPwXvu5owcWOZkTGvEhusLDqCBwQowrbpD9aBaG8itl8JomQE8YCXL XI2gqeIiY6YRP/F9xg5LgXNgb9+GNp2IrPKGRziwUiUn02hZnADKe1fcnJa4UcUcc9 vi8Dox0gN3fmvy7qfXiKC3JbWIyqMl+/w2gPQ4cDBUQ3T8/LN0elYfmpWZB21B7GEj QM9Ms7R2PkVWgIVR3fpPx3bxekl938iVdVuf2LjQxWjq3BoH2wc6uolfc8och3iEY+ oRjOjkq4XIgXC6Uu7yIUpQettP1jGY3wGlm7mJPlzY67M6493Gby0Q68MYn8NESwSa KG8hFhX53do1Q== From: SeongJae Park To: SeongJae Park Cc: damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 18/18] Docs/ABI/damon: document 'schemes//tried_regions' directory Date: Wed, 19 Oct 2022 00:13:17 +0000 Message-Id: <20221019001317.104270-19-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221019001317.104270-1-sj@kernel.org> References: <20221019001317.104270-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update DAMON ABI document for added 'tried_regions' directory of DAMON sysfs interface. Signed-off-by: SeongJae Park --- .../ABI/testing/sysfs-kernel-mm-damon | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 08b9df323560..7ba95e35b427 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -27,6 +27,10 @@ Description: Writing 'on' or 'off' to this file makes the kdamond starts or makes the kdamond reads the user inputs in the sysfs files except 'state' again. Writing 'update_schemes_stats' to the file updates contents of schemes stats files of the kdamond. + Writing 'update_schemes_regions' to the file updates contents + of 'tried_regions' directory of every scheme directory of this + kdamond. Writing 'clear_schemes_regions' to the file removes + contents of the 'tried_regions' directory. What: /sys/kernel/mm/damon/admin/kdamonds//pid Date: Mar 2022 @@ -283,3 +287,31 @@ Date: Mar 2022 Contact: SeongJae Park Description: Reading this file returns the number of the exceed events of the scheme's quotas. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//tried_regions//start +Date: Oct 2022 +Contact: SeongJae Park +Description: Reading this file returns the start address of a memory region + that corresponding DAMON-based Operation Scheme's action has + tried to be applied. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//tried_regions//end +Date: Oct 2022 +Contact: SeongJae Park +Description: Reading this file returns the end address of a memory region + that corresponding DAMON-based Operation Scheme's action has + tried to be applied. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//tried_regions//nr_accesses +Date: Oct 2022 +Contact: SeongJae Park +Description: Reading this file returns the 'nr_accesses' of a memory region + that corresponding DAMON-based Operation Scheme's action has + tried to be applied. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//tried_regions//age +Date: Oct 2022 +Contact: SeongJae Park +Description: Reading this file returns the 'age' of a memory region that + corresponding DAMON-based Operation Scheme's action has tried + to be applied. -- 2.25.1