Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8274667rwl; Tue, 10 Jan 2023 11:10:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuE3cQyZmzWdnnq9qIVFd7FzL9Rvd011p+mq8gvX/I4UEwBQFSSOI7QTffFA/twxELVsuU8 X-Received: by 2002:a17:907:a48b:b0:84d:12db:fd22 with SMTP id vp11-20020a170907a48b00b0084d12dbfd22mr19525294ejc.71.1673377806132; Tue, 10 Jan 2023 11:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673377806; cv=none; d=google.com; s=arc-20160816; b=q9JrC1pZS6tWddrBIMLeaVtPtSa/aesbu74Kgl29j4d1SBSFR17vs1RG9BygttdsJH /ar/qqkbe+OYxfDoGGMM5PPOAuAd7DySgDv+xyiTUJwfCFXjgAfsc72TIM/yEIhGOoP3 HEjbLkjZoJSYyNuGwToHiDf+NsHIpDvwEcUUGBeLAkrZYauVQA5FWtYYcfFRMeq+2d71 eNAYLTzSAw/UXuqXAnsnjavcBb2FfbQnEmINUzpsnUEJ+S1jqHXJM8MiadnB1WJWnHpc BkuO9f7ozvXm5LXztCw6VjHENxDTo/IVL+0Mu9vqi0l5/acc0yGMvBgonHppgdOAh+Ux Xkaw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du8-20020a17090772c800b007c4f4d0427dsi12644530ejc.409.2023.01.10.11.09.52; Tue, 10 Jan 2023 11:10:06 -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 + 55 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 ); 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 ; 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 ; 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 To: Andrew Morton Cc: SeongJae Park , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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, -- 2.25.1