[2/8] mm/damon/core: update kernel-doc comments for DAMOS filters supports of each DAMON operations set
Message ID | 20230110190400.119388-3-sj@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2919924wrt; Tue, 10 Jan 2023 11:05:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXuP3/W58TYbtnWlmdznUiiklvas4gS2J+FSXeadi2/RwPWxx0+5rKjfqIhhfp6FrQkVcFvr X-Received: by 2002:aa7:cb94:0:b0:496:6a20:6b61 with SMTP id r20-20020aa7cb94000000b004966a206b61mr13285406edt.22.1673377537163; Tue, 10 Jan 2023 11:05:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673377537; cv=none; d=google.com; s=arc-20160816; b=TIPPjQpyZCILGV1wMcM/L2GOFJb+asUgTWBCQBjXZsYQ0RHh1jSSehMJnb6AlsAgCQ mnymRjKv9Jtrbzi4+1XUW/qgjAr4kRDt97PA6pkzq5tQsJT15QodT9nP+AFfbV6yXiCw PEn16tSJ9C6E6T/O+EUCmNcVkmQmC8geUfR+i9pjELPFOoouBwM+y+ouJ8aYYwTsF/dG x5PDS60/GaU+tOnXW8te7zq31NyNHyMzISysqKNGFymCFQv7Z/qiV0OFcK1ksBpV2Tcl F5y7sRD76W9JC64PkK9vvlTQoAyAlWjs8UJUCrK1q24LpwQnvsS9vIIM8kG4HmKkthYf 7hpA== 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=g9Lt5kjNSvwU+Zc822IYE+N2t4BmB87JsBjPGjRovaM=; b=aam/Kuf6CqqmD/IMLCTrdkfWdDlq2AqXJ7VKbWVGTcPUMYHTtricghCjgtyiL7Wtxr k7Pc7IIH/yeBs8U8B8U7/KJtSF+gm341AjMb1iwUBf5o4SaYR7W1DSzxn/eK/e6uVwgd rLXFaoNmZ1/jTY8DZEzxxUvKY0nv249BYrJmDxNmx754ni3SY8xKlumGZEXYYvLZtdYa V7JVPf9I4w+jfl0APsCNLAq2oSEsQvw2t2x+HXJVcX/0LQeQJywYyT6cEV9rGzCA+Dho D8s4mRPy3qwHxV3s59WGkQiEberRgenDFUXzTymg4EOzt7+bLX0jY0n45ErCICJKohM8 HnZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O12DgK0w; 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 ed9-20020a056402294900b0048c1bb5d23bsi11432293edb.67.2023.01.10.11.05.12; Tue, 10 Jan 2023 11:05:37 -0800 (PST) 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=O12DgK0w; 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 S239703AbjAJTEu (ORCPT <rfc822;syz17693488234@gmail.com> + 99 others); Tue, 10 Jan 2023 14:04:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239665AbjAJTEJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 10 Jan 2023 14:04:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BF4348CF3 for <linux-kernel@vger.kernel.org>; Tue, 10 Jan 2023 11:04:08 -0800 (PST) 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 F16C6B81900 for <linux-kernel@vger.kernel.org>; Tue, 10 Jan 2023 19:04:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44D7DC43396; Tue, 10 Jan 2023 19:04:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673377445; bh=MkYe8RMWo9Dd/HnFB4VyNk02k3Wj59bPhrWvDe74iBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O12DgK0wfvcNXMnpgdQ3CN5XcfJVRvnLXxTk9Tenc6J86A71PWN8smbh8QHn6allC cieg4aoxQAsihNa53VhtzdmoGyYNK7ii4b++GyYCC8+SEUK2nVroFTJtRhlifuN9B6 k3JKMOBKw01yt0WYX/k+NOVE96xHBDfQsvj+6enjh62D0MYD9tB1eUwbw8Iq0OAuld u/mImvwo0LKCKcEhdw4QdXUDR15Y6quvIqFKYFORAhOi1B3bSKg+EKLiG5QmPXIctj hwVD9ousWKgOREOvinbJ2UEgyklCRp9pAvqzYSGgiKGqkN7oKOpIprY5BWPWc2nXls /XCndbXdU9Cqg== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/8] mm/damon/core: update kernel-doc comments for DAMOS filters supports of each DAMON operations set Date: Tue, 10 Jan 2023 19:03:54 +0000 Message-Id: <20230110190400.119388-3-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110190400.119388-1-sj@kernel.org> References: <20230110190400.119388-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754663524653438794?= X-GMAIL-MSGID: =?utf-8?q?1754663524653438794?= |
Series |
mm/damon: trivial fixups
|
|
Commit Message
SeongJae Park
Jan. 10, 2023, 7:03 p.m. UTC
Supports of each DAMOS filter type are up to DAMON operations set
implementation in use, but not well mentioned on the kernel-doc
comments. Add the comment.
Signed-off-by: SeongJae Park <sj@kernel.org>
---
include/linux/damon.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/linux/damon.h b/include/linux/damon.h index 3fa96d7c9fe4..dfb245bb3053 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -227,6 +227,11 @@ struct damos_stat { * @DAMOS_FILTER_TYPE_ANON: Anonymous pages. * @DAMOS_FILTER_TYPE_MEMCG: Specific memcg's pages. * @NR_DAMOS_FILTER_TYPES: Number of filter types. + * + * The support of each filter type is up to running &struct damon_operations. + * &enum DAMON_OPS_PADDR is supporting all filter types, while + * &enum DAMON_OPS_VADDR and &enum DAMON_OPS_FVADDR are not supporting any + * filter types. */ enum damos_filter_type { DAMOS_FILTER_TYPE_ANON,