From patchwork Thu Jan 9 17:51:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13933076 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 5AA43E77197 for ; Thu, 9 Jan 2025 17:51:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EED1D6B00A2; Thu, 9 Jan 2025 12:51:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E4B266B00BA; Thu, 9 Jan 2025 12:51:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CEBD36B00BB; Thu, 9 Jan 2025 12:51:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id AE08F6B00A2 for ; Thu, 9 Jan 2025 12:51:48 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 57C7AC033F for ; Thu, 9 Jan 2025 17:51:48 +0000 (UTC) X-FDA: 82988656296.16.DDAC0E4 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf17.hostedemail.com (Postfix) with ESMTP id B3AF440023 for ; Thu, 9 Jan 2025 17:51:46 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=REsmlWwh; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf17.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=1736445106; 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=DsV6f3/GOh7s6tKRPZCWfJophuTD7OpqAsZaAvglA2o=; b=TYS4uvuObWRgWyO0DyHj1r+dTcpLaDfyPt7Je7QqLMn2Zf6wEOtvQmy8xwEmr1e5RbJJNU CYa5omH9+ykBKJcTdLeNbe9WlfmAqTUKS3a+UmmXSymnKx33TbI7N1TMIphfUbsM1oLs6s GtVCcxRo9vwSTFBHV8SOmWP88SEM6dw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736445106; a=rsa-sha256; cv=none; b=PQ2I7vlcxXnwoQiVl+noMyAVNoBz5osbCzsIiTe++zCm7Cg2WxQ3h/MWPfgGDUlxXQjvTr WV8ctqI/7VxbBncXsFQjYa7kcBKpWHHLRDoxPpyNxL5YEGUiLFKval4OH+ScgirEqnelUF mGBx4wRoULhPAbiP2CXYDdoAdz80Ssc= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=REsmlWwh; dmarc=pass (policy=quarantine) header.from=kernel.org; spf=pass (imf17.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 EBE7C5C5CC0; Thu, 9 Jan 2025 17:51:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96E17C4CEDF; Thu, 9 Jan 2025 17:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736445105; bh=gKQlLARsVrrph5NrbcUYgL9T8fplC1mlIWF/4YxuHGg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=REsmlWwhB0dudPGHboz+PDVelqGDAeP6LkzFmqYWSqf1lAqHKMJxvJZa6W0K+z687 0Tzm84jAynQdcg7cHsGQNJNoBsNT85GuJrSqH6a9FbQ+tIdkuW5Kd7YYRf7fec7btw 4+S9cbMoAT1ZIt3cOGSyUyZIlREp1jbEdBarzaHzGx4uKzgehkl/K10y29is4Jy9N5 t/TP56RX5xrZFvovNwENPFm5ceSUyXhrcYqkTTkgP5+9FAB27r1xqRzLABV190knSq ou/hNqpn2JjORBElpBaNQIdAe5iIAlWbH9s39eUTXTRtcLbSWdExCMRa7Uk387r05b Uq6JDI1p6oikg== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH v2 08/10] Docs/ABI/damon: document DAMOS filter allow sysfs file Date: Thu, 9 Jan 2025 09:51:24 -0800 Message-Id: <20250109175126.57878-9-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250109175126.57878-1-sj@kernel.org> References: <20250109175126.57878-1-sj@kernel.org> MIME-Version: 1.0 X-Stat-Signature: xhbjqof1si3go66768eag1s64pfonmi8 X-Rspamd-Queue-Id: B3AF440023 X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1736445106-423155 X-HE-Meta: U2FsdGVkX19fLXUOjbfC4dP3b191d6mG1qwnq5uQDqdxxkTezwuDHlRPMnA0w1Qic89vq9AGDX+0XQoDtgctO+5WuDqYJQXxBg81gLjYUEPPQrBULxQPlbMUaRcHpYdFKxPrOB/uSI5XssyYtgiwvx8aOAI9kcZzo7X7/iBS8lwtwoXmv/5wH+b8G42F2roghccvY9jAV9qfqTHqiEYebT7BrhihhH0TF5eoMJBHZunX0fyEiJLAJ6GZhVpI0xfpMsY3qTDCOTEmIc+OeBGJpgvL6FduA6GTHsrf4YyStT7DZ3BsqDB2lLOblU0Xs8xmyNlrKW2l0z4ted1yW1SLfVmT674RbBA1iIdhneRLHxnxXXQ5bofEnoqC+vwXNeCI3EMvHHITmcWDhDR5ZeCoQgh7s1aNvdcnc6rEjUxOI2ch2bbPIMcqteeKGWYSqLos3l7fCUmKbJqlVg4jBJuK9XdRpxhg16zoL7bQ9s5xGwcQ5SJNABQq2Hrvs1b3nxUD2x6P1apbcvLqergpFdrV07KkSlEgp7lNuMtQ1CGztIqugriMYcrKknTBCd1Qlij1lhB0A+gCY3/IV9l+FvaV5Cnv8KwfrC1VVmxJ9++tDsGyNM48wykHPip8yvRK93mZDvguCH1pECUpfthzJmsanP60MPQF9ub8jHxzCg336N/Es/KY3LD3VKhmvG6L28uYP81UWlo64e8U4tECjFK1fCP268dVJ1iQTVbTU3xYj+QZ84b5M8g+6hu09hrOvhHg7MDEUwt/5+u8iDxPjr511AOvrvpNs0nz8y//l7eYCQj+Uue+vEz9diqkVhGonnyO5KH5KSClya7WQwfg3AFyGeyvM1EdYIoekCxiz9hHe849W4pIUO3LABAAsIgjTCbHG+WmYMWVMsdK4xxzEowyU90Do9QhEtzqn4AYft1F2sB2hyZV8PXnwHQ7IK2A31Pq3YJKuE0iWFFl5y9okXZ oS6K+qcQ RVSondkOxr+Bw6x6DC6zuqSZiBzvTRDSBOTMEUnBZaKPCDqnx6i4oc41mK68V8lJmBJeMQvsfTvBxAPB9hYtzpwgMTdC8ijIZCG5ANsnxhJabMbNRF9N/CwxHzO94KN71kFD1xdMlXTo9MTrDJzoFgjgE0UyvOAbnZlJ3O5zpi0FldyJbqHwi2H8ZOWGS9VAruqFaWC25bC2YNnRCl2EG4++l8zQ5qdvSRa7Jczh9CFdlZ2mTehOAsRjtFXkMnZYG7+pyEVhwGsAt268= 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 'allow' file. Signed-off-by: SeongJae Park --- Documentation/ABI/testing/sysfs-kernel-mm-damon | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-kernel-mm-damon b/Documentation/ABI/testing/sysfs-kernel-mm-damon index 8c0acb31638b..b057eddefbfc 100644 --- a/Documentation/ABI/testing/sysfs-kernel-mm-damon +++ b/Documentation/ABI/testing/sysfs-kernel-mm-damon @@ -355,10 +355,15 @@ 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//allow +Date: Jan 2025 +Contact: SeongJae Park +Description: Writing 'Y' or 'N' to this file sets whether to allow or reject + 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