From patchwork Tue Jan 10 19:03:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13095549 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0786CC61DB3 for ; Tue, 10 Jan 2023 19:04:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F045F8E0001; Tue, 10 Jan 2023 14:04:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EB36E8E0003; Tue, 10 Jan 2023 14:04:09 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D7BA28E0001; Tue, 10 Jan 2023 14:04:09 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id C276A8E0003 for ; Tue, 10 Jan 2023 14:04:09 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 9B90D1420C9 for ; Tue, 10 Jan 2023 19:04:09 +0000 (UTC) X-FDA: 80339814618.29.325CC9A Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id 2AABA40053 for ; Tue, 10 Jan 2023 19:04:07 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=O12DgK0w; spf=pass (imf17.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1673377447; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=g9Lt5kjNSvwU+Zc822IYE+N2t4BmB87JsBjPGjRovaM=; b=FLeoW+RwrchOdMnNV6O3nOotWpDYjL1YG3FWXdN6ljFVqcuGZQqIbPm1Cq1kGNzBO2pg5z 64cs3HXNfkWySVpCShTeIlDJhz2Kr+7AtlFRFz+yoKz+q31tTCIiXDkCJgq0r7aggJYfbg Ezr2ublAyg0t1zia5arSgzZLyTwe4Sg= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=O12DgK0w; spf=pass (imf17.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1673377447; a=rsa-sha256; cv=none; b=aAAJa6AQ7nsPbo2JtBEjHQxRQ4qnqbg5R0EUgLF506En/bJd3X9b48oAPAIU0jiYiaFTwN 5RxhB5qjvThgSg5bu79Iv6WAwbDUJ1cu4laXkedMDusy/TzHRRPvxYkddde1UjC7+5qgns Gd2M9dLgsZlyFmgPsUUKlUKOKLqsySo= 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 dfw.source.kernel.org (Postfix) with ESMTPS id 3676661890; 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 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 2AABA40053 X-Stat-Signature: d418nyhq8ogsxejbz7s8nfzhfhacicd8 X-Rspam-User: X-HE-Tag: 1673377446-46633 X-HE-Meta: U2FsdGVkX1+orQsKc4ThDof5IDDQmK1Y6xkRsh7GXI02U5rsjiH+9awRoCYuqbDfRlvzcZKR0w7+aZw/CCOi1pGxnA7xDyy6rka+fWmsVwBZiRftMKZVTzx/6Pvea98vCt9I5Lx9w9Qi2gIW8j5Ioy2xIbaBPr6Nzois9Jbm7HMTdRpz7XCulXcLdtfU0nZRy1XOlm+Uv3K/YL8chNm0WL/m3ObIYQZ2D6WNE45AHQSp5Tem2MfcRaZnF4dLAa/AKkLLMsuPmRaVqIyuLxZE0BFgQolYhviMHAglstLx/Ru+aGXfqzi8CUT2qNcnRziYHbwlZ/MnPk7ioHGlOFjFTp2ZXBVxdx1Y04YhjZLbD3Hc4Qpai2cxAZ08lnPuPpTMAGrlO2gU36/rXrD/2FEfxAcO4/roR8yER/Wj9mlDamx3YT5Tlj2+1frJvt2uc5d0hHpA9Ehepz9OBIp3UKziLHXcC8OjLkBfNEFX7HKH8XQCm0UdryeVJH+PIFnZXrQT9VYpuVq4N443KqPOPP+H/4Mi2Vgcr09ckwn24G3SAae6RFjKVSiaKzD1Pc5HyqDcWd2FshqqBgEaEc1vh8DkmqW/owyK33VCp4xBpMkYQ2XwUYQ7pre5NdRZXYCThNfzeyAD/waS0Nz2Ib0nsdXlzxqZTGrLXPlc/ZQj9ERr/KHeXX7AAhQMmFkfCrS42rTta966OhKnR6lzKyTUiNPyO3uoJxppCsaa2AdYbEZtUYTyZG/HO21WFDyVcDizCfUQhyCJEx2VVe3FW1x2pFgW7gXaFd8Y2nF1gJCFvfoIgWNk65lkvfn/MTU2OFGB9k/lRO7AutGLi7I0amz0qqiGgzBFbRJkRdChQmoNzTO8merOZo2oydXc6tN0yVYoU1nwzw5gTegDO0Sn6fPb4439hGUyWl1U+0TZIpCoIPJEc84lUDJo3YOOBix5HTtpAi0s063ONY2ZbWCgyulL+nL VBx8TDKR ZAsw5F9vJornPImLFTyMjvqnYXNl1upBOKU29oeKq3u48pp+nMOtXuStRCcklZGJICgY3e9sebhPe9JY= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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,