From patchwork Fri Jul 28 20:34:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 127880 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp705225vqg; Fri, 28 Jul 2023 14:39:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlHSGZV2ut/hHRUG3yAUvAmwbj6gW1w4KZm1K/a6y1Jcf40qZ/JoHI/19Wk7wycxe64S/Sns X-Received: by 2002:a2e:8199:0:b0:2b9:aa4d:3728 with SMTP id e25-20020a2e8199000000b002b9aa4d3728mr2770144ljg.29.1690580356470; Fri, 28 Jul 2023 14:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690580356; cv=none; d=google.com; s=arc-20160816; b=Hf+tLvVqSo7wWzGwkGMMwuDchvluVTf6ehTbi43P46rwqZLPyRRGWSlckZts55Wp4M bUWBq0NVZcfV4iC4ANOR5rKWm8oECPwYJYQzHe/TMu6cEBFmWtQcIuHAVJLVl7BM5mhx 26yxiYPRYLvtDGyb0BeJ1WpnwsUSjZZzbdLWSQzIeVzxQ9EgFr3wR3wS8FstlIsIWxiN D7v7bSXwEF8n/++31k8zbgZSJZa0UlzNrnnokNvsS/un3AynMCtUZefQvKErlrFbxtyD FsJEoQYQaru0arLNQeQZj1gv7m/3OIupOhukTY/n2i0uhjbvWTx/xs1uDfJj3g2rv1Y0 U4Vw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gz21-20020a170906f2d500b00982a5377650si3152853ejb.247.2023.07.28.14.38.51; Fri, 28 Jul 2023 14:39:16 -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 S235491AbjG1Ufk (ORCPT + 99 others); Fri, 28 Jul 2023 16:35:40 -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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772701987535053387 X-GMAIL-MSGID: 1772701987535053387 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