From patchwork Mon Jan 6 19:34:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13927797 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 CC80CE77188 for ; Mon, 6 Jan 2025 19:34:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E5A406B00B1; Mon, 6 Jan 2025 14:34:31 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DE1F56B00B2; Mon, 6 Jan 2025 14:34:31 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C5B966B00B3; Mon, 6 Jan 2025 14:34:31 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 9F4086B00B1 for ; Mon, 6 Jan 2025 14:34:31 -0500 (EST) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 24B681602A4 for ; Mon, 6 Jan 2025 19:34:31 +0000 (UTC) X-FDA: 82978028742.17.36FB273 Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf11.hostedemail.com (Postfix) with ESMTP id 874D840007 for ; Mon, 6 Jan 2025 19:34:29 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HZHzEXT0; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736192069; 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=vvr2qABIzHiFKBWJgAYDA0yAaS8oSG6526R0C9e+Uxc=; b=EiLCFrQ2XunTcW/Prs1aB8RlMoTDzCSCsjtMBOF/8Ae9Wd0MwCiKoiu9CG4FP2bU6JibX9 KavHVKyKMUk1RDZlGJsB1BT11vwPOyXim90EfFgy9w5AvuVU2X+P8r2woSbtor7+0iq9nl Zdx0eng2yAImhd6PJ2wuQ4873WXpeZY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736192069; a=rsa-sha256; cv=none; b=v+cFUBj7TEpikX/qGwHMgld0FOB4wBU9iK/LbmJWiQ0nc8zQGMWdcXkvOLP/ldwT71V76h UsiUES/I1Olha7QRPJvCLGGYYxUkC1vyZgRGgwcxMXqvlzLMDUFOWffPHTgFUTvdkITfmc oOtneH//B/y8QgqU9FRUbbN8oXCruxg= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=HZHzEXT0; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 147.75.193.91 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 26EDBA41D92; Mon, 6 Jan 2025 19:32:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F7EAC4CEDF; Mon, 6 Jan 2025 19:34:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736192068; bh=3O+7JbZj6xxSI8uZRXk/Ms1BG1Ir2OifGM6jxU273yY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HZHzEXT0/ZCiiBJtIoztxLXOeM5gJiISJG5r6HbQyZrpw/1mVfjWVBtuPg0ERW5kJ 0h7DbOBlSt5hqBB4g5tr4gLDyKEftf9mZ9NXCo4Ca+oEwNHrgoiSDm/+DRLUb7tqA1 lOgCmypgaOYcSvmrx4t/cyk0zXA3YiNYBUqijWImfhYnvGebhzu8LswTHl2DNPqsQx PVMU3LIIFBul1jXu7clmKpHV8dJ91/1b5MIP5Is8PLMkNovAdI3pmGGIz0Xf7W7CQw 0RIHE6StYflDhilR+J4DNRyNW9jFMQD4eq9ZUYCr+Ls9o9bXqxrQYhMBcyDKcSPkUm tXB7fgnNMzRMw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 16/16] Docs/ABI/damon: document per-region DAMOS filter-passed bytes stat file Date: Mon, 6 Jan 2025 11:34:01 -0800 Message-Id: <20250106193401.109161-17-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250106193401.109161-1-sj@kernel.org> References: <20250106193401.109161-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 874D840007 X-Stat-Signature: tunwfxicnrf9nxrc8bjrppm7ik8pq8q6 X-Rspam-User: X-HE-Tag: 1736192069-398619 X-HE-Meta: U2FsdGVkX1+2/8rEalD0WY0uJ86cfgFNhQHlCMKdGj0dh3qmvGqhlWO/pGRg1q9FyorvG1Q6YsTrCHqz1G3QjBdER6FIK+IR8tmjae7cf+xdGA27+NY+Ukg4K0j6z+UPr6V8acmxjbBMRu5Okr6rwQFV5WYsfu0LqOqsh0Cz4LVvSrKM32VvpyXNLGSU0i5eOeZkMwh8bVDpJoc6RDoXNt+QgqQqEFj0l2EoCku25OQm23/z7DwXPlKx4+5YglQ4DvhJOWwkjShzMrzuP0JbYmnASuW+CxBBlHNZrKytku2gAb0e4m5DVQYcbak3AL5y9BYLjonHxHDoryn5+Bq78I4yfxF6l65seby5CZo41I4wkwF693h8XrBGXAtbZ3LlzGRRFBRy4eM4ODH3hIqwn6pf+DG25iXKvtpn2VayVA1PvGRp7Y8EB+8VoitB8aqzuc57dxBfo9fJZnXPEpxrhGlEpyr4bSPggeKAW5YMrm6vBwOX/R4lRhjahZ+36YOZVZXSPefIAaLEeJNNcu1CfQ9fLeCOwOA4Mi6DFFiJ6UZvSKXofh+0lWK/OBpRh3SjxA2FkCqvbxC9zK6wnDzr0pnGFoqM1ivh2uHU6/D4Bz/C7dI/bKrDa9s/mg8ESEWn3NvZqQ3/hUM1hEMKAQIhZSWmeCWQiEWbOw5FkvvNPhNChctbfVLlUjPTmOMQh+ndn1Ji48QRKrxKNGYjsiNnR4hmbzdfqJezuhADARBZYVVwaIOkWoxVdynWlLEzMzVB8l5+TR5t4c5iujLIki+atzzMeR3GjLnH6+D3KBoBpdQaAD6+Xu6ODbQslORTtWPlAW/fNpP32VEHYtaaMHQntvvVtHU1AtT6RoIEt8tRlOaw1+vzTeqsCiNN8eUIw3iBXwRpgzHxmbj/yK16FFaIzL3jZd8cDGG3iLZTY4j+1QY56g4ae+DmG3pyRMxB1exTr35x3CEevn8k/nWga14 tvUIzQb4 ZssYqMBUMRc4Ed4EcRGSritEl5F1z5wn+fhJheuaymxKdvcuX7HEGUTw+Sh5nHqPLF4tfskM7loyAPMFPtiqxnsJbVdC6WloANvNxrvRdlSfHL0MJzeRZewVUBnz141U1JLT2fTT4oIazjG4yfnD+Gq9gS+c1AzsIeESkXRTgsIbtG6bo7YpHIO/Z4ewdu8wJ7Ga19s9kudyrrPBohHgPvSDmQ5XYKUQgl5i4C9LVSG8mfOA= 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: List-Subscribe: List-Unsubscribe: Document the new ABI for per-region operations set layer-handled DAMOS filters passed bytes statistic. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 19cde386fd15..8c0acb31638b 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -430,3 +430,10 @@ Contact: SeongJae Park Description: Reading this file returns the 'age' of a memory region that corresponding DAMON-based Operation Scheme's action has tried to be applied. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//tried_regions//sz_filter_passed +Date: Dec 2024 +Contact: SeongJae Park +Description: Reading this file returns the size of the memory in the region + that passed DAMON operations layer-handled filters of the + scheme in bytes.