From patchwork Thu Dec 19 04:03:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13914453 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 6C345E77184 for ; Thu, 19 Dec 2024 04:04:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8401D6B009E; Wed, 18 Dec 2024 23:03:55 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7CB3B6B009F; Wed, 18 Dec 2024 23:03:55 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 691146B00A0; Wed, 18 Dec 2024 23:03:55 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 424B86B009E for ; Wed, 18 Dec 2024 23:03:55 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id F1383AFFCB for ; Thu, 19 Dec 2024 04:03:54 +0000 (UTC) X-FDA: 82910363634.03.24BEE05 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf05.hostedemail.com (Postfix) with ESMTP id 2A4A8100017 for ; Thu, 19 Dec 2024 04:02:51 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Okgt+R3n; spf=pass (imf05.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 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=1734581018; 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=fp/M5qtlpa5xEAVPBJdPeMW9+kyBozw/GmAvcT1Vf1I=; b=cwhZxW0OvJoCoAOg0bLIjk1AqsM//GqCjxbYA2GELP94+vHfFqYd32MhwHdH3OTJLSu+Ml +ee2VL0m9xWDxm5ie2X7TKzvj2ege8LmQI+6tCgM6aNtsJiy1qvlIeGMUwFEcy+PtwmTHD Urtkx86tBdYLzppMDsYBurJopASd32c= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Okgt+R3n; spf=pass (imf05.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 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=1734581018; a=rsa-sha256; cv=none; b=dAvMCMhmEGiNzNLx7+JDlYNPoVYok/Ho7GS+2wB+UQgcYcaT/jAevEjomvIS/KRJ1psEF9 /KG5bMAU+fRrUYB0/x7G0k5QKMZ7aWrHYEkuZXOSJutFF/FC6O6rb9twr6JkkC80f3Avk7 hmsE9LAMz23AACh09Wm2peiKUGmtgCw= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BB7995C65D0; Thu, 19 Dec 2024 04:03:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56C24C4CED6; Thu, 19 Dec 2024 04:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1734581032; bh=SpnwWXRTfkYMqczlFfBjIRSLjyD9BiybsCKabnuSowk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Okgt+R3nL+tMQulyJrSFoz4uD0MSWUhjapO1ixK/kNHeGI2yuwlPCkNTLEo0J6xzr YxT/RrmMFkYzuBSFDLBolZyT4c1UO+XymRSnqfL9EVyS2ugao/7bGvyOvrbCk8NSEK yRI1fYsCNQEFoCFSgUgTd2G00TAzdormCy0hthYnK6m6j50ZuTSVA8D8hYvNOgb8wA jtj/FzeYaetD5WMO9L31/PGO+TMG92PQwMiOYO/xsfSV/v/rktLO8brrKv2ENbj/Ar tIfN7M/TT8HxKjVHNXue3OMu/D5t318yDDFTQI+lWJFou1a+Hcz1/Qc4TSwbPkKQWm RCw+aFdXqkmPQ== 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 12/18] Docs/ABI/damon: document per-scheme filter-passed bytes stat file Date: Wed, 18 Dec 2024 20:03:21 -0800 Message-Id: <20241219040327.61902-13-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: 2A4A8100017 X-Stat-Signature: kx38abks53w4p3auepeu94faddhutjmz X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1734580971-196583 X-HE-Meta: U2FsdGVkX1+DEpJe/NmK4LqHGOthwloOz1yqrb8VrXYr34Y6ZwGX59yG9ic2oXJcFa8uVSR3KbqlaafihckIVe2F1yaiWqYAa3JxDCxKPWDB2m7H1xnpQi06kcsc6qJGHtjhGHHbIN/QbFP3ZwsUZ7baQZcdt9f7rBL7MK2FWdwLHbAKhD42Kzjbqbc/lXY9M5FTvTYWVVMOGuKKV6l/zjcB1Y8K7xHwSWotjIqBm/QwjHkFQckN+BjbiCz4d+hadCRJ5rh6vmJRILaTRhDNbJPA4Mt4YfA4LfuysIfWwF3aEfvdeUpJ3rFpHQXMXg/1h/J1plVd8sTEpteem2XCd58ug5w4QpNkdbmODYwZaih9MFmIAuwyjwpERgDNX2FS0M4BpdEfSlzhHuhJdRcKuV7cWsXsHQCPQNsZ+ODAULktPeuuj3PmbIKatN0DQItwodoOVDejr+FfDnxwmDGPsBPWNf3DHqtxxmqmpallmx+1MZWB0GkP/fvv/yu9VMyftEXeHVCVsmOLNuXZgsdNeTjudh+gMJPbFQ4VrOSbtbt2BjaelHMPNl7tsqpvkcpbubDyPd9BSu4l3SnM+D/qGm9OjfmCskz8Ulqdsr6BtMPooDVwo+Ws92xdFrVt0FhOW9eZH5sBoKIrmYA7cBD29MQqQuovYl08asWP9hfwFxDR4j4OIAE1RdfvODLxujTLKJTlXmekH9Gc1LyY13DuGmNbYmeON//xK8lL5as0D3HXnRPUjyFPYfWV0v/P+Lm1V4ddeXyOsABKXY5YBBvi/Ds/33CAYNwOSo6mPHzTwvHTiyDNYFxMpBhkOs7v5jIxk6FsWq6WxPXjtgpT0mjTow+smuwg0yj+bLzJbA9T7jl/Zn8SARObyMK5e2qyM229CfztKY5S1ILEXgi3lOP69MWnL7I6bVCUgWj/hjI9EKi93zUSZpYXXYr8S8bBga+yHBMdNIfJJYH1ZVGDCyq aNDxiwL6 dmhwqZHhwQy5iiPMpQnFI9AmSHnhpA7y3K4zJMzW1SSa6mvyPfFKpaCR4VQL6O297suCDlRcd2/9K32XAzEENpGofVnrVJb+B4vhG1RTZp1odj3Ha0V7jtRjskLwEHZu0bI45VwJRmI6PXCMV/WfaMeFZuFSpoHUpHEnxJgqwi5w6wwAtk/eT5wkQKynRL47EvLac+UsMJ0Dav1elRRtaCntM+xMDxOkVt/INHIKJsW0rGGcoT3wd+H98JiRRDHInRaKzNzAQ815snDI= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000003, 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-scheme operations set layer-handled DAMOS filters passed bytes statistic on the ABI document. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index f1b90cf1249b..19cde386fd15 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -384,6 +384,12 @@ Contact: SeongJae Park Description: Reading this file returns the total size of regions that the action of the scheme has successfully applied in bytes. +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//stats/sz_ops_filter_passed +Date: Dec 2024 +Contact: SeongJae Park +Description: Reading this file returns the total size of memory that passed + DAMON operations layer-handled filters of the scheme in bytes. + What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//stats/qt_exceeds Date: Mar 2022 Contact: SeongJae Park