From patchwork Fri Jan 3 17:43:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13925766 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 688EAE77198 for ; Fri, 3 Jan 2025 17:44:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F0CA76B009A; Fri, 3 Jan 2025 12:44:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DA6B96B009C; Fri, 3 Jan 2025 12:44:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C1EB36B009D; Fri, 3 Jan 2025 12:44:22 -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 9E7B26B009A for ; Fri, 3 Jan 2025 12:44:22 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 21CBBA095A for ; Fri, 3 Jan 2025 17:44:22 +0000 (UTC) X-FDA: 82966864176.02.C0F2C4E Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by imf29.hostedemail.com (Postfix) with ESMTP id 2402B120008 for ; Fri, 3 Jan 2025 17:43:06 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e7dfKc9L; spf=pass (imf29.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=1735926206; 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=fKAC/uwaet3CuhemlmuxmKRbcB3XUMDNeMBAgxiMOlI=; b=xtP3mwVMdo5OBrHxX96ByVdXyR2+UBn+rGJEP7vx4WtIt20eii4HSFos6vJZRZfckapHGL DP5g3/YCWFSVmr1rYioWK1uicEJ7gccOybEqEZbzncVr7aeZeTraqkf+xnWpOYSDjfV76o O3s5caRXoyXtqhszGWDIjkZoaa2eZfM= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=e7dfKc9L; spf=pass (imf29.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=1735926206; a=rsa-sha256; cv=none; b=nplu/nyIxtQQ/FWscinlhTyfdxKBGsbHk4dCPhge+CT4nJzg+fdu+1kkHDTt6zVS1fcMRx p09voZ9B/hX8khAgriJQdv77mD8XOoDcT2Cz9v1hhF1UPfwMwBxjr74mAb0/VoOoIuOgiS faJZ/VSKqbTR/Ehq7WTii1Ij6LfNY2o= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id C9B95A41026; Fri, 3 Jan 2025 17:42:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C88BC4CED6; Fri, 3 Jan 2025 17:44:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1735926259; bh=ex2cW5mU/E6fAA+W/k+OvrLTIak6tQKdwMDzL9/VmTI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=e7dfKc9LBbs8Wmv5ZSOAcOMAI9VAqDjbrtYkn5A85z4azDq2JNjiVPD//CxORn3ta 6Uop6Gjhi0KTg5+K1kU7cYPVCLaXdZdrbhJ2eKeu1VlcrGYq4LNDYbb4hDy6Fyqe37 kjIgj5NXNwzh0TcMweafCE3/jKAghPfv6woal8w7hiCLf/Dw6tCFB6SvWBib5Z8CwX eS1/mmfeJmf70lJ0mre8qE1gmOjkmbXyB3JKwgAc6O6CrJ0q56KFDGKLDYB8wVU//e LMac1HM3Ib+1+pVXBW8wkokXKU9UxUYkVoIr1+GTHGjt/Sz12bGhaw9k2MRimS1H2Q DIbdDtIJYiCfw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 08/10] Docs/mm/damon/design: document DAMOS regions walking Date: Fri, 3 Jan 2025 09:43:58 -0800 Message-Id: <20250103174400.54890-9-sj@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250103174400.54890-1-sj@kernel.org> References: <20250103174400.54890-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 2402B120008 X-Rspam-User: X-Stat-Signature: 4pzy3zrq5wjhbmqmw4nuuypu1xiu646n X-HE-Tag: 1735926186-949689 X-HE-Meta: U2FsdGVkX19ig2BitzbkpsKIY6ImKQqE68JtvJguj6UcNoPMUSSGTKyAK1ca3nbTrZBtD6kdwHsjNvpYkemQfd073G4ptDjS7uFddWNWAj6xRf7/eiag3Vn2zmb7g8nwSRwEUyuSwgnP/3E3ko06osu3xCXzf0Ahw7CexvSIA1jpW2cTFNMJgg//yRzm7jMzVRwsKdaKOusx1upbGCotpDYdpmSuTQRL4TYfa7Tw+/8HuAVyhrKkW4aYwdiymE+fDz02HnNhOEgCWOShuYcW9iNSpszK96Ox8tztALioEpK5oJ7js5Z70FBEBFoI/ntsJuEWrEgr5zytIxgK7aWSv5DzVXgtqn7Y86zVfOI2fOFHYgbf6qQXA1nJJo9PRifxZ1aMhAJUcQoJchU4LW1sSQpPGOSBfocL5XALLGaNKXmg31pawqKqY2Z07UiJKsp+CNeKdpdnIB6ndy3hvYs/Jeo9n11iVBpf9dduMHN2vPK4nDCSF7c5mgnL21sBXPkKSFfjMnnPS1B9mW+VqexkdDv1aMiu+w0uP8DfDyvywZFP21LNm4Q8ZVUSU2uVkyZZDwfpRxGmbKVFKD+Y/dbn/6bF1z3+3kFARUIU7IF1mLJc6e7i0UrJKwPuGwqPNOF9BCi0LYMSoeKhsnBRinroIB3/Bs90s+bs5Tizq2e7M3Wqfnon/yzgPki4J6aYURl00hdzWIbNAjX210VZEAanZx9dGgiHvIo+9RSvr95T+p5fcjpiFUahgrFCMBH3gZI1SSqCLAGcIV6XjUHvP7M3QlkNmwK/L1+9v6pkLRq7DV+PaPS1Zx3aBRz/fWVbEoYKQ9KRmBkZUvI29907SxTKgjVrPKpASMwqQxbD+SWf0FybbBGipe60WcJyo6vD68TYCTI6dE2ssm+zFQ9zOEp4ccszt0v64loo23/CiNNrBfQJGV0Cy6hEpvztBUjVMLRo/xpvNKkE92i+s/1I/mD CII0sgT1 n3XZs4x0mCmr0YCiUO1yQxK+pjJxd2hJqAHmqJ6Ur3vuXEZjzSzrQdqsB2hxY/iky9IRJN4qT81xFSXEJJ6SwEE70jDapMLPX2kPNU2T3//HGdQsqZhVAvgIuU4sFmqI2olg3tGsS1HeR3f3H5CYMzfGyYebcMJmMDcx5wb/SavBcSm1m21S3ySfrNsd4fpUa/C0NN4a1bmCZXJ8I+/VqCqKM8ULSyMjboUFQyS3V4fFbcTtl4kQU3K0ngDQuHuMRdVV6Kno0QlVrkn8= X-Bogosity: Ham, tests=bogofilter, spamicity=0.011048, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: DAMOS' regions walking is a feature for efficiently retrieving monitoring results or DAMOS-internal behavior. It can be useful for multiple purposes including investigations and tuning. Add a section for it on the design document. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/design.rst index 1c8a43b07b00..5385ea04c2fd 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -540,6 +540,17 @@ To know how user-space can set the watermarks via :ref:`DAMON sysfs interface documentation. +Regions Walking +~~~~~~~~~~~~~~~ + +DAMOS feature allowing users access each region that a DAMOS action has just +applied. Using this feature, DAMON :ref:`API ` allows users +access full properties of the regions including the access monitoring results. +:ref:`DAMON sysfs interface ` also allows users read the data +via special :ref:`files `. + +.. _damon_design_api: + Application Programming Interface ---------------------------------