From patchwork Tue Jan 7 20:17:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13929584 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 C24F9E77198 for ; Tue, 7 Jan 2025 20:18:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5AEC06B00A0; Tue, 7 Jan 2025 15:18:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 55BC16B00A1; Tue, 7 Jan 2025 15:18:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D6246B00A2; Tue, 7 Jan 2025 15:18:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 13BA56B00A0 for ; Tue, 7 Jan 2025 15:18:20 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C3F40C0354 for ; Tue, 7 Jan 2025 20:18:19 +0000 (UTC) X-FDA: 82981767918.05.3F36F75 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf04.hostedemail.com (Postfix) with ESMTP id 2C23240008 for ; Tue, 7 Jan 2025 20:18:18 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=VbdBW1E9; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf04.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736281098; 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=JJ06T9O9U24aN5XM8EoaxdrXSk67OuwjY67lLlEgiBA=; b=JKBOiaIxGcslLpNN4DwthulHqK+67MbQ3oaM2nTSgWjspMShyL+ENvrxq4sYbWRXemdCMx iXkRl50LyBuniIBfj1EIY2SYgFjwVueWIzOhhcwpWRwj8g2Rni+TPLlxPMJd/KkULHz2RE Qs4L30AruaL5qbXY2sSmrVxJ4ndhXFc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736281098; a=rsa-sha256; cv=none; b=51H6ZRIqB15GitFVEDUE0P2v2/l2Nt27e4mz0csUGigtZKczUaYaY+oygLI/fcYlnJhhZd X6FAsK6bEJObOiVZQLnJqhndjti5tclQxq2s2qdNyjBJjwP5Asb2kwl59XXEPDDqjXqM6N SadIEs9sLze40stpuWCGBO3BlyqKfws= ARC-Authentication-Results: i=1; imf04.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=VbdBW1E9; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf04.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3ED365C5EA5; Tue, 7 Jan 2025 20:17:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F20F9C4AF09; Tue, 7 Jan 2025 20:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736281097; bh=juadYvUhIrNs11RvqR4w499ufNXf6y5+YZmNZP0gQvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VbdBW1E9YONp1KjOtXnLbXq53XWAzctVY97ritUODquibRxUPZZWiU5WkzWFXjWRY kU2UIFngMpXjNhx655Rrt+wkjr2ZCe5TRPd/ek/hZ6zWiYaNUm5vrpDbW6/Zh4BEHj D8iSZ005boFIlqHbL5Ml5NfI1Pv7D9s946fqPhleNWK8z0DW61x0o/Bnth/rP/bSJ4 SR9DGqZJ/0fJ0mIw7A4zcp2NXX2edgROmOyrZ+PpvFj3fObM3QtELW2Knf5e/F2I2I shbTXX1RbNLRguI7G75mWmQA3Y2IKE9EyRCd8uwvOI3o8DlKWYjXlJmhESDXDyskhz z1pmCBCFhzegA== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 08/10] Docs/ABI/damon: document DAMOS filter pass sysfs file Date: Tue, 7 Jan 2025 12:17:37 -0800 Message-Id: <20250107201739.79484-9-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250107201739.79484-1-sj@kernel.org> References: <20250107201739.79484-1-sj@kernel.org> MIME-Version: 1.0 X-Stat-Signature: fo9ksomcpfrex7rbu5jpxrd3ad8f6t6x X-Rspamd-Queue-Id: 2C23240008 X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1736281098-503189 X-HE-Meta: U2FsdGVkX188XQO8DWiQub48SKJmlE6zXH82WU9HYZNKmDXKzo3cwi/26x0DzLS/GFt9cu2p/+u/Z64BrdtinB5RpD7J99g0Wp+Ds3apLPUNspGPjy3UNbf3JuvM2/OTE58F96bsuTO65K15Ni5PW+aZWfrqfu3HCTaM5MwYTOxH6DwNxSaQ9PojrY8IRhqQzlUlNf+DxbZ+rWZqOjDFaCIpEigReH8UQd0wR7cERY/CRa82eFuaVzl/BwcmU4N83EwNP2h5cuHVInhYkGWaBKp/xtYfJWvsPZG3jTv6trnOnN0X8JzTtNl0lLmKY3Lw7je3PSUEULcHWKE4G7Ea8vM/7r6tkEGztL0xVORKThuhjiBrq/BYVlDmT1ncrPMBVKtf20pke2+4/XNy2manmZDcQeVcoLj0mxNJDlH8bKugtrl5SmdFOKF2LFdD2P1AHkgQ5+bS7Cc3EUDLMOqD11MrBG/T+KBW3TT9FdmlTl7JqJsapHizAGQUUyyJ1oAX/x6F1kipzQDd8GJTv7GCEXMMOE1t1Hap2BmlV/pPMhyouxPd8vB1DSGN/nhBWQwST3udnxSlooUkuTjuT0FwnAprcr0T9oz5bJXgez5bJGpImcnE0N4ZyqjFT21EUZxe/CxSliXZjt6AreGgvuD9r0iIjA/cS4v7efCSJInx4LzcnvZdopeV+n+/5aRQdXgcVhqZNBE8srJ2Nf1ni568okrFHQr+wzzmmyB7rBh3H/hndGR9YiuOqbKgZ3OCtAPwx1VLSVBJfYODn+cdJOMM/p95czJkFylOGHx4e8UZ4pSNMHrIGkgYPER5JCZog3QdV0apFQwsVAheDy3r3wxYHWEVSL3BdpVhXfOLasM9qW65XkHsFfpCKd/wecMYoOlFOXbe0qKjmDDOMmaKWJHc0oxgjKbL9ly87uxw29xt68o/WxI9pGz+V2xS3gPnn0ZIxrj1H/oV5fO+M06V2TD aArWJ70b xucdms/1gwqReGspOW5ruJA/aC3GBPzH9dIZ+ZCvAAQq2A/nVaIFsIdPuWbisoXY14I1SuPEwiFoAjPhCIwFLrDOovy/YkHYC/3zBDYpVYLoq8FqcxC+V5TESAoLHGt65e50KNAVO+YGOgZjLzvBNSo6hZ4+ga7isQSytxW084IJ5ZcC83gvdlUq/Aaz0bqGe6X6szFQpDkMIl9t9dB8VmGoEYLdO1V4aTQh9ArzUBPrkn3+GRHRcNgBVNwNKRPU/VcEQEr6vq+T0QSo= 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: Update DAMON ABI document for added DAMOS filter 'pass' file. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 8c0acb31638b..688bd27d8602 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -355,10 +355,16 @@ Description: If 'target' is written to the 'type' file, writing to or What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//matching Date: Dec 2022 Contact: SeongJae Park -Description: Writing 'Y' or 'N' to this file sets whether to filter out - pages that do or do not match to the 'type' and 'memcg_path', - respectively. Filter out means the action of the scheme will - not be applied to. +Description: Writing 'Y' or 'N' to this file sets whether the filter is for + the memory of the 'type', or all except the 'type'. + +What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//filters//pass +Date: Dec 2024 +Contact: SeongJae Park +Description: Writing 'Y' or 'N' to this file sets whether to allow (pass + through the filter) or deny (be blocked by the filter) applying + the scheme's action to the memory that satisfies the 'type' and + the 'matching' of the directory. What: /sys/kernel/mm/damon/admin/kdamonds//contexts//schemes//stats/nr_tried Date: Mar 2022