Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1743561rwb; Fri, 28 Jul 2023 14:21:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlGiJ3o16dcCxMyPUQkgceubaut7rcMsO/7mA2SmVH2vwEP2UjQF/0fa7NrTeIZbb+swpqQb X-Received: by 2002:a2e:9d90:0:b0:2b6:c4fd:753a with SMTP id c16-20020a2e9d90000000b002b6c4fd753amr2542419ljj.34.1690579312764; Fri, 28 Jul 2023 14:21:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690579312; cv=none; d=google.com; s=arc-20160816; b=QiGD+rgm7YEO+yFPavZ8r4BYX3df5ZOTu8gUdUlkeEySwIx32R9cBs9LzMA1aV63eX Cu5m0Bv+Gqvb9JbLAK2JX0lW0hzX0zSl1gRb1fpFMjb8GD74CMDhNrkqX+zFTb/TNWYA JNPpZekEIPPxUoujyuh6SE3uhFc/ISAuRezaFZQmY1AtEtQpW2Rh54pC5OTaEYnu2RUJ lh4J6NupGbdeq+OEijc2lsinOQ6eTD312xEqr8ms5U0UNUM8/rReHAo/Czr61aAg3oWu H+ibj1mXM9mf+H6cC3XJOvXgXxuiAvPSF8yhhjbXVDGkuBr2mNa1EZRDO5sBryiUz2Un NonA== 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=TCUsqQmJnKJM5svbADdALKq1EVL3eMqwc5DVaHvmSMg=; fh=Jn9vwBBsv0/M243wtBPWgrycE99QwFHXCzusFnO8K0Y=; b=cD4t4zrhlVZYcSLSvBuSSClVSpwr51msnd/UHYu3jRkWakqIIYAQlsXp6QwdTN+yl2 WrtpPfoexu2//CqMdhYLDqAwBogC/URtqrDK5vjqT/gKAYke1coNXDz8IUFpOkaQ1p6P z8dXHYYegWB8fqRtCeFawOEEnZhYY6ZGrTh+QovCSeRsv509wmq6xahqseX7H15OkF+q Knwh6mWvypOJzuMqvMPUGYskEjh/f/lDDzC6csGBZyqK5puM4q4iyecigv7RsMn/1e7/ CKaVMuOxTSwmEa+4ybvqwNZPjHQWAb8vKLBCNqdo0WkOLw85ZWamRHdAAjN0qx3fJ5I5 zhMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rea+yT0I; 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 ko12-20020a170907986c00b0099318060d50si3185448ejc.463.2023.07.28.14.21.28; Fri, 28 Jul 2023 14:21:52 -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=rea+yT0I; 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 S235476AbjG1Ufj (ORCPT + 99 others); Fri, 28 Jul 2023 16:35:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234827AbjG1UfF (ORCPT ); Fri, 28 Jul 2023 16:35:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AC244B0; Fri, 28 Jul 2023 13:34:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0114D6220E; Fri, 28 Jul 2023 20:34:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50472C433C9; Fri, 28 Jul 2023 20:34:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690576496; bh=vyjBGWyxBLS7yKk1ryFlF7UDmbUqwEQwLNgOkCH6QUw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rea+yT0IiwPGhhE0KEND4yApkw5a3ILg6BoIRM7AwSF2wCqS1qY+//EtMqzze8Odt xvJ58ujCsX21oar+Bcm3nIwbXsznDchR6t7ykIJ8WteZ9IBaM+SRQAItGePyDKRyoz nFJCVeodxBpFWwK5n9pfFfio1UJcbio51qqREQquQDwnokFsyrUJSTouI/uELCp8r9 58W76e0TNy8z/akRdaoJ9tfVPEhPZKvI1TP8Nah4cKXlumcE6G+/wuIOAksrqLZMO1 NaJLOWwoPrUT5MdfTpg+xPu8M9V2XqZhalpiWr9NQRPFw3tshGmQOjTYgHwt2Y0CB3 pMGiohUJ4mCOw== 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: [RFC PATCH 12/13] Docs/ABI/damon: update for DAMON monitoring target type DAMOS filter Date: Fri, 28 Jul 2023 20:34:43 +0000 Message-Id: <20230728203444.70703-13-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230728203444.70703-1-sj@kernel.org> References: <20230728203444.70703-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 newly added DAMON monitoring target type DAMOS filter. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 0bc074d4618c..334352d198f8 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -272,8 +272,9 @@ Date: Dec 2022 Contact: SeongJae Park Description: Writing to and reading from this file sets and gets the type of the memory of the interest. 'anon' for anonymous pages, - 'memcg' for specific memory cgroup, or 'addr' for address range - (an open-ended interval) can be written and read. + 'memcg' for specific memory cgroup, 'addr' for address range + (an open-ended interval), or 'target' for DAMON monitoring + target can be written and read. What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//memcg_path Date: Dec 2022 @@ -296,6 +297,12 @@ Description: If 'addr' is written to the 'type' file, writing to or reading from this file sets or gets the end address of the address range for the filter. +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//target_idx +Date: Dec 2022 +Contact: SeongJae Park +Description: If 'target' is written to the 'type' file, writing to or + reading from this file sets or gets the index of the DAMON + monitoring target of the interest. What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//matching Date: Dec 2022 -- 2.25.1