From patchwork Thu Dec 19 04:03:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13914459 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 E31EEE7718A for ; Thu, 19 Dec 2024 04:04:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 97B346B00A6; Wed, 18 Dec 2024 23:04:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8FFD96B00A8; Wed, 18 Dec 2024 23:04:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7C9B06B00A9; Wed, 18 Dec 2024 23:04:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 59EB06B00A6 for ; Wed, 18 Dec 2024 23:04:02 -0500 (EST) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 1A49E813E9 for ; Thu, 19 Dec 2024 04:04:02 +0000 (UTC) X-FDA: 82910364516.10.A1975DE Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf17.hostedemail.com (Postfix) with ESMTP id AB21D4000C for ; Thu, 19 Dec 2024 04:03:35 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=oyHjZIYK; spf=pass (imf17.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=1734581025; 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=nsTV34D9H6BWpCUiunMhCud0uqz5p8gVYTZWCpdtotoSHwSZhmTa5RH4TxtbQE9LJ2qyMP AwRiFvK55uo7sUao8VI+Fi+zvxbH9zqZF+7nXY1VGFX/8SfTN/jSY08JGaSptk6LwWvqQc i3f5GyM8VEwib/DMKI1JfyidoEmm6+A= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=oyHjZIYK; spf=pass (imf17.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-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734581025; a=rsa-sha256; cv=none; b=eTT0s+Hs/H2pJU7su+hAuRyqxGzASwkS5Hc3lPYFxIbIIGQFvtZmthIeT2XtMy7nq6QXeg KGOvs753t4VEcrhLEQMoe9VU+gkg8N+xowDFJP91uMio5Y/FiuGctX22xeOuaqyUKm6ACl QfE0PgE0ajxCYTyMP3m+g4D9kxv4h84= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 4E28BA41BED; Thu, 19 Dec 2024 04:02:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60E52C4CED6; Thu, 19 Dec 2024 04:03:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734581039; bh=3O+7JbZj6xxSI8uZRXk/Ms1BG1Ir2OifGM6jxU273yY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oyHjZIYKBbVSgEhHGsO/L49GzSrPmCAgLz3fFw3/HiFralNETAuZ/xTMhWDGJXTop QBBl9+e7s1mwviBijmuPa9POKEy+exmlGwdq0d5k06jwod7XgV5Ow8/9wORT96nt+d +uK75NV2pS0UsBJY4qLo1AcdejSh1io5Ii6XO8xRoaX/NCa0nvdkVdQ1wckbVsHAyl 49KZ+XdOZVsWih75jtrhbzfIkLTMkfttpVQ8D0NLP/d6ggynxGTd7owaTR9zwO7h6U 8x8ZYgu2vu84k41iryaUEfawSQ2BjIbTbTVf/bAnlEfHhk/TNhX9gCWCq5XBPoF6ZX 7lF4h6r8PjWbw== From: SeongJae Park To: Cc: kernel-team@meta.com, SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 18/18] Docs/ABI/damon: document per-region DAMOS filter-passed bytes stat file Date: Wed, 18 Dec 2024 20:03:27 -0800 Message-Id: <20241219040327.61902-19-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241219040327.61902-1-sj@kernel.org> References: <20241219040327.61902-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: AB21D4000C X-Stat-Signature: 56pfg76znjyj4gkuy4xshp7oj5gousem X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1734581015-849069 X-HE-Meta: U2FsdGVkX1+CkEVWON0ndIIOKQBfA5SHt8F7seDFDMpuG0FogIcBUcDI9Wib4bPFE4seNITdcD8JFX70gpE5p/GzLHpVJj5AcgL8bycxySpPcFNhpsMYfzRR138YQd7LnKBvv3zyB/VkdkuRQzY8vBnzJwyjiryq803GIkuilOsjTzkIqn6WVgR1HCpkHFrlOTZjFKmL4LCkcHmIkMPoy9CUmuUB5BkGHNQWyVXQSw8suEj9cF6VjSbyK1bD6aFrjdCpHPn1ny0IaOeup8/GpKLLJgBkcg8g81dtqdrDVXtS9MFhskFBr/KJ+C5SU0WLT4eZ00S+A3ogK/BNIdFxoZKVEJDUQuXhZ746y1my3Q3x8/wsmq+2X+qstrd5YuNWZYUcy6YS1tbqsJOnEJVOW/osCGol6Ke92s+QCdFcwN7Jk+7hwa2zYjw/NNE1lm5GcxyF1G4OLTsb1+PNiAkhGJRWGbWAvXr5Xbm7cSofAXh0bdVhji+Nc2w4YMQT5vQaFcfG0+8+VR36R2ocUAoCDlYjhJmuze1c7mSqC2myW8LtMWVHZnSRSGZK/tsRYj+vwHdtnlVNOZip4NiOZ5gY64pSPvHUA16wVjiC5G8HaWSvr5h+2EacAYRG6ssjLBoHSr/9zYoGS+CJEEcR9sSRlYgbn1aagQw7jMJPRi6OJcZJVE6m1CRsnqqe06O5B66NRSno/gHK/JWQkq2+jmXg5jJcr8rK18ygnHBlRCTet1coR0YbMbelVVocBc4/U8TP6aBbsnRRFk15N/FVv1+FKpO5tQ7+Pk2MtYjJL+Cxm173hHDBKhUdWaGF0Bi7most+myK006Zz49nD0wVq4B1j44OUqjFMkUKQMPJI5rTxpYByND4j3jaNhDbd/gqaBOdBLvSqC+HXEmohjoN1z44/ofjOwzKgJbZt08HQTRC2RltHeeaz5RfcE49otGIrV3Oy2bKTeYNEbT2BqvdmMt d16j49zv IY7Aby0roZgYgbq3hTv/Pg1Yq2lKBHRehECULWoSlWrHzCpToGyD6Lfy82P/bXFsUt/kwhR1Pk8R73DwOO+ZXYZGRoUMMFr3/Xdca3GShgs5Hhngu74ktirqBPEh0toakIdC1qvTptlAoiuZo0tMpNhuG6VIH+t5Jbpi+mCX31aK0IelH2CslHOhQuGl197iUJoRXnfO38qqdaK3I5qyLFW6Eau3I8xmoRSugWH+ZLq7eQQI= 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.