Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1742137rwb; Fri, 28 Jul 2023 14:20:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlHDwp9p79H9TK+ehRF1O8lOMwYLf5u94ynaXZ7TkYorobIzeV/1C+K9dXmUDepbhNpy/kRf X-Received: by 2002:a2e:96cd:0:b0:2b9:d266:85ac with SMTP id d13-20020a2e96cd000000b002b9d26685acmr1645206ljj.48.1690579201575; Fri, 28 Jul 2023 14:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690579201; cv=none; d=google.com; s=arc-20160816; b=YI7WbEXYnh1wmtSBabFxlg6ZUmR+wD/bzWM5NBi2P0wJ4Pcw3xK3PbdtwQPKAPBthp cwfYlNlO+A0qun/z8X1lqrO5d81gQH9tZQQDSLR3FQ9DYEbFh1sBgsfSin7IJq7ASjEf 7WSqakjajAi3ajZ9SbzkQHpAcHcbWrskTgZ196ydIizo6a71wS2Ro1hJAyRFZQpIqIcc AVOXs3f4+nZs7u2WgG7Oojug6g26RKN6R3z8y0r+8qGrO7/1/xTKsA1sLPZjqKcu3pTw lM/xpWwTo/FxAibLkB4O+C3cVnPR7QZZnjT3DkeihM82KC6UQQJxRZtvPsr7N7N7hKgO dmrg== 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=LR7oqG+00nkekBNt3o+wrtZoDLPaShEuwa/PeYioeco=; fh=Jn9vwBBsv0/M243wtBPWgrycE99QwFHXCzusFnO8K0Y=; b=JPDjpf+7Eq5cAj6mnGyqbCobwsXI2qfdgiE5inppS3hfPPqHGoWKp/Fd2A+vwmm7ko MiU4mKTwvu2dGj23FZtmURdqfi/M3hLDsre1qNBEh+46kQNCPVztKpNyBvBP5BPxd9fN jhoqnYk5jgcyS3qocGxevKLQQJtm9ldaWnFipAgBb7r8DTnxgN0E7tczYXo9+tEWQVj5 y/Np1Lp9vHmU465+2jyqQZfDCL/i8ubJ6G2SOGSUr0QqrCL2QO5IFa56Hg/LBr327rxd n4E7Umv2KvxRw0qW0Uf0kmRAORQtO7xQSdYeH8ekdcgiwnVySLZnI1nSnnTn5snRU0rg i3hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="SrxOU/dN"; 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 g16-20020a17090613d000b009930d9d6b4csi3085388ejc.888.2023.07.28.14.19.36; Fri, 28 Jul 2023 14:20:01 -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="SrxOU/dN"; 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 S235177AbjG1UfU (ORCPT + 99 others); Fri, 28 Jul 2023 16:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233839AbjG1UfA (ORCPT ); Fri, 28 Jul 2023 16:35:00 -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 D18244492; Fri, 28 Jul 2023 13:34:54 -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 4D70362206; Fri, 28 Jul 2023 20:34:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BC43C433CB; Fri, 28 Jul 2023 20:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690576492; bh=0npm47qE7mM3V04g26fYupZB0KuQfvcIrbkch6jch58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SrxOU/dNh7jCfSKEdcp2NaJS0/E9e7SwsZdBuNxy5RQsHjiWpl6nQFNDHC1cgMXoN YZMJtZg+OwctxSsEr9MpVt052ifmf3dVP/0yjPdxdwc5CjViezW6aLvDbyZTnruc4t pZCSvfk5WEVpX2pvYQY4gf5yFA62IQ1ppZpYH2hQENmnJNk6w4B2rvQwCY96KJ3FLN 1FhQFQBA8qhXEIJgCbaRbZtd5GJW54biKuy3jEc0aTf32BaIPXauFRF1vvYxwPrOeh qcTZTdaCusboMSVeL/RRJ8U2FRA3+UCrNT4Ad55sFhFPYEIwEbToVXf+cQeQI6bqLe C2sMA5joPS5qg== 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 06/13] Docs/ABI/damon: update for address range DAMOS filter Date: Fri, 28 Jul 2023 20:34:37 +0000 Message-Id: <20230728203444.70703-7-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 address ranges type DAMOS filter files. Signed-off-by: SeongJae Park --- .../ABI/testing/sysfs-kernel-mm-damon | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 3d9aaa1cafa9..0bc074d4618c 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -271,8 +271,9 @@ What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters/ 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, or - 'memcg' for specific memory cgroup can be written and read. + 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. What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//memcg_path Date: Dec 2022 @@ -281,6 +282,21 @@ Description: If 'memcg' is written to the 'type' file, writing to and reading from this file sets and gets the path to the memory cgroup of the interest. +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//addr_start +Date: Jul 2023 +Contact: SeongJae Park +Description: If 'addr' is written to the 'type' file, writing to or reading + from this file sets or gets the start address of the address + range for the filter. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//addr_end +Date: Jul 2023 +Contact: SeongJae Park +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//matching Date: Dec 2022 Contact: SeongJae Park -- 2.25.1