Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3083877rwi; Tue, 1 Nov 2022 15:52:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7CDfw4i/UnkbSe6prP1NaQ6l3oKtZ8ivxWh0kkJaitGy9Gs2KKFJenceTOOirAWDBHiIUQ X-Received: by 2002:a17:902:b901:b0:184:5b9a:24f0 with SMTP id bf1-20020a170902b90100b001845b9a24f0mr21843208plb.17.1667343171708; Tue, 01 Nov 2022 15:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667343171; cv=none; d=google.com; s=arc-20160816; b=jbrVBulBltWniexUxYAQZPzACMdicoMK/KGEBXbg43UIIwpj+kbOyrflznyEZsSH+T c2RtY6wXyQERK08XkYcXmYuMRxIj1wXgBWW6L5mTGY6seXgcIHNLbU9HUqkwY3Td8mhF szj7BZr85I6BD7x6LRgGJeEDmS6iXorFuG/3iCuCFjOTZ49HHYL7i8tN6mqhALv6QVrx g7sK+dpEJT9l8xLHw05OVg4loG/Gi22/NaTk0U4aijSjNO0F/VHhCTDsFoBPxDxx1m11 GMT1EdvYnRayZEiJUBR+Xyb7QY2Sk+Xqk+YgDiXMOkjN/vBcEff/r2E4weMMAfGfEazW ULzA== 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=1xE6LwUt8JFEW6cHp10wzKw8CtFRQTz0icIitbX2c/A=; b=O1YLPR8KEFoW6UrEobr+M0Cfy91gOMF7LzAk6Nj611wC0T3vAZeSxhK55Qxlj4eE26 jVjIO+ieqpBYNeiKpz4x0iGkgo6OOg+z+vBy2/jEjNPBH9rpMOQSfjZbXfGQ1vC3/cY3 IPiEUyhcOiBPLGR0SQfNQezPpwDxcx2l9nhcGIfBjO1zcI9/RRIZRef59ZAeswGNbzrn TB8EjUf6rsuGJ31Xchncy89PkYxmPg5a4ZGDZ0jOqYsat/UYti6wznIO0Swq7Y5UCYM3 Ljr/mv/o0yNU2XazD/cb4sQ77pWYEakbcJwO1MPN2d2CCq+zU/0OpMYpul6tZ58j0yPt FQKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1CFkxeL; 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 x4-20020a170902ec8400b0017f871eb680si16023717plg.269.2022.11.01.15.52.38; Tue, 01 Nov 2022 15:52:51 -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=d1CFkxeL; 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 S231200AbiKAWEW (ORCPT + 96 others); Tue, 1 Nov 2022 18:04:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbiKAWDl (ORCPT ); Tue, 1 Nov 2022 18:03:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D08F363C7 for ; Tue, 1 Nov 2022 15:03:40 -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 8B53DB81E27 for ; Tue, 1 Nov 2022 22:03:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDF57C433D7; Tue, 1 Nov 2022 22:03:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667340218; bh=NEW3Do9blxs64Lr6AHVrrQw2/a54TWTrLKMR+YeGsds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d1CFkxeL+dqHmMQeH8SDS0lCGzwBkhf2aHgFfgMOEqNRvCflCYHQI12Oy5F8avJc3 Agchqu719Zx4qxQ1F9QY9Fmuu9lScWN27OlP+GSN8ENks8z6FLxr7PFcWxFVcFTwgj gA6AGQFnZ8ZCWiBLhAIvR1411jLd8UqsVpR/3edr9frW/3xlDwPnoik0xeNFjhX7nI tGGbpkm6EWWV+g9CuX2snpTvjQH70mGLcHELAUY+wfCG2fW3gocNniE8fHFu0uWy/l y+4kDCJjON198FMyUp6iPw83AtZSxfKqgh9DjTGVQG83gSze8ypd8Xtc/pKTHBXRCf WoKgOp7KKNYKg== From: SeongJae Park To: Andrew Morton Cc: damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 8/8] Docs/ABI/damon: document 'schemes//tried_regions' sysfs directory Date: Tue, 1 Nov 2022 22:03:28 +0000 Message-Id: <20221101220328.95765-9-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221101220328.95765-1-sj@kernel.org> References: <20221101220328.95765-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.2 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 the '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..13397b853692 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_tried_regions' to the file updates + contents of 'tried_regions' directory of every scheme directory + of this kdamond. Writing 'clear_schemes_tried_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