From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2A107263E; Sun, 26 Oct 2025 18:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502943; cv=none; b=n1sRFfnPxCeCet9KRzv6bxcOMS/e3AYhi1aHyztRM3QoJ32QkNMw7z8cVZNs4WdeDmKhPqsUY9Qb+GEhdjnfHNvI+wEahX3A89MpL7sXxtjEAooLCjc+cCAul33hYrKsW3yvo8gBOd36YijvXupHe38Y9xm7gMzLE0Nsphohk+M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502943; c=relaxed/simple; bh=1E84e4fabiNAb3ypwhroOSlt1p8IcxO3BF19toErg4k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dCG98Tu3267Hjhern2YOHV+4z17dmMiRJdUP3tkvzc3waqK55+XQWHcEmhLCGZECFuvRw/OW6K45Tj4ZYICfCzQJKzqWnRvi8Tf5q51XnNhaEPBbeKA/InuXxR4pM94zKQ17OhjROO9eOA4AEqWYr58SCzgZgh5S6I0ZZXO4ViA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZoQDN6au; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZoQDN6au" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E3E3C113D0; Sun, 26 Oct 2025 18:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502943; bh=1E84e4fabiNAb3ypwhroOSlt1p8IcxO3BF19toErg4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZoQDN6au+Tg5geccepd0n5jaQo5frnLxxevptxzekhIHdri4IX4MB83uqi4rbENvn mKAML5NeJN7pF0s3WvoVuSHYhCv2xH4XXY7aMOJgONt12eB0tzjNvC/oezxe0O917r L+aCZCAOP1i7uv5/qr55/PIbj16bGMKZqkJKtN3Q84ZjgCIvL8y73L2tdLJzM6Z1OQ lfEalv6kLoQ1e1cGkuenIeTqRZROhxn6Pf8qFgNJbmZJCNpI6XxaofEb3N8KWAbphZ MnnuoeRmKHsJYL2VdEcfWmO0Vmaetk91qylNGyU/ycyXaZ7+AHV2Ohnoz+p2mmHKkN U6coEcNAa2a5g== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 1/8] mm/damon/core: fix wrong comment of damon_call() return timing Date: Sun, 26 Oct 2025 11:22:06 -0700 Message-ID: <20251026182216.118200-2-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" damon_call() works asynchronously and synchronously for repeat and non-repeat mode requests, respectively. The comment about the behavior is wrong, though. Fix it. The wrong comment was introduced together with the repeat mode, by commit 43df7676e550 ("mm/damon/core: introduce repeat mode damon_call()"). Signed-off-by: SeongJae Park --- mm/damon/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/damon/core.c b/mm/damon/core.c index d78f4452e536..06ad359024ad 100644 --- a/mm/damon/core.c +++ b/mm/damon/core.c @@ -1448,7 +1448,7 @@ bool damon_is_running(struct damon_ctx *ctx) * Ask DAMON worker thread (kdamond) of @ctx to call a function with an * argument data that respectively passed via &damon_call_control->fn and * &damon_call_control->data of @control. If &damon_call_control->repeat = of - * @control is set, further wait until the kdamond finishes handling of the + * @control is unset, further wait until the kdamond finishes handling of = the * request. Otherwise, return as soon as the request is made. * * The kdamond executes the function with the argument in the main loop, j= ust --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 579D02DA777; Sun, 26 Oct 2025 18:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502944; cv=none; b=KatPqsF3caQd/EVflwYqWn1CJuY34b9Vdg5INFiXV0CRWLOQxL4WKZcfSoF4YHqc7X+UI9V02896i6eJX3mrL/0IwpuowmGTDkqOY0cCOyCvLoUF2T/6D9nFfh24T3Jgkiw4WC71jAgh1rc/PaJe2uEhaHX3y+RSuw50APVe6q0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502944; c=relaxed/simple; bh=vR/jN1F5Lce+/wYJ3r7vPrVeoUjeNepMfhGqCYSRWqk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=B95mrDgfopvB3Vz4iLg0wweT8sDcx33rj5kzqcyaPhDvD5Vv5qUC87TuJM/0q1ks9R+/DW4IdF9PG/jXE6BX1QtmDXOKH4OlK6i3EwDNBqWVb6BGFBETPS1gkkmVHd17qX0W54W/73ZBhf8xylmrnNdzvxw4nDUmJ0AM/NJY5d8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rrUXWisV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rrUXWisV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 913E6C116D0; Sun, 26 Oct 2025 18:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502943; bh=vR/jN1F5Lce+/wYJ3r7vPrVeoUjeNepMfhGqCYSRWqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rrUXWisVTkQuT/o97FuvkpH48DZbMUE8mE2W8Umu5nU3QnHmLelcE5jBmq95VgdCr pY/zhcBoT8GkIudvveTt1LFwjoCVwxxN58tWskdBWOJ/oadZBuZaTf9l499ApRhP+y HYlXni3I9sVHVfTDml1uHzYVAxTRvsrBfbuTCCs81RZhz6a29HzIy0mOGp73H/lEDf EesRjDcqND1pYBOzH7F9SFKGoUdGBZknts4E8rkxMqOhDQ1DXFTzbUs08qVOMlw4JS +Bk5Womdr7dJUTyra0iV2Wvnrlg0W0qfP42AVCgCzLYoP78dpvJMA1MQboaEuCs/cG DPdMcDpxOvNHg== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 2/8] Docs/mm/damon/design: fix wrong link to intervals goal section Date: Sun, 26 Oct 2025 11:22:07 -0700 Message-ID: <20251026182216.118200-3-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit b243d666d107 ("Docs/admin-guide/mm/damon/usage: add intervals_goal directory on the hierarchy") mistakenly added a wrong reference for intervals goal usage documentation on the design document. Fix it. Signed-off-by: SeongJae Park --- Documentation/mm/damon/design.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/mm/damon/design.rst b/Documentation/mm/damon/des= ign.rst index b54925ea78e9..2d8d8ca1e0a3 100644 --- a/Documentation/mm/damon/design.rst +++ b/Documentation/mm/damon/design.rst @@ -381,8 +381,8 @@ That is, assumes 4% (20% of 20%) DAMON-observed access = events ratio (source) to capture 64% (80% multipled by 80%) real access events (outcomes). =20 To know how user-space can use this feature via :ref:`DAMON sysfs interface -`, refer to :ref:`intervals_goal ` part of -the documentation. +`, refer to :ref:`intervals_goal +` part of the documentation. =20 =20 .. _damon_design_damos: --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5028D2D12EC; Sun, 26 Oct 2025 18:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502944; cv=none; b=fkKu6E7IHDdcyTfqVmvx5qlefDuwlO4ZhAk7wVbZMAG6uOc5JsmnUOfwbt4Z7i/Z+yBYBnOfnlhksXZ4xLpA3M2j65XgZGihRULZJ18f06ZohG7jpzHM63IsMSZ8Edh0c3ERkNllzDUGMwQk6OQ666YG2kSA6DQT+DQj5NDkPCU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502944; c=relaxed/simple; bh=2OxNFKvhCT36RDHavLAyK2OGp+6UAUMynMMToyr3JtU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pr9aMe/INDBs0oBFscempugH6+WjC0FGuRrK87ZKowSq8D+OjOaZbV/4kvaNA6pALUgsQw9P5VJmSccpS4cHJMCrswzegpXBbkFNqk7BikFTky0optVOAB1apbVnlWfsUuq7vlHPGcj+Ip7fvuZ+5Aef1kQHLO1s9eQIsBsdJ4Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=huyxrle8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="huyxrle8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E99EFC116C6; Sun, 26 Oct 2025 18:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502944; bh=2OxNFKvhCT36RDHavLAyK2OGp+6UAUMynMMToyr3JtU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=huyxrle8m2VS/tPkSLY/a3secq5QD21olmVFnk+tEm911u4eZdB6SU7qaYj2eF0gK gpWzMJYOt8vybSCS4Y9miij0pJiU5UalTlQqfGAMVtlAcvma8QfvcjkWr/CpoT1pJL 6Xm9qn/NvEhe80WGuKeg5NbqtDgkEyNnvWAQZZaXkWVpuDOjEK5lTOnWQ0uTp23eXX JsYVdqymwjAyDGNJ18VbUseyhj/hR3ISscQ4nLD3WzVku3o6kRSfGTOrBJFl7y0tqM 6c/7uEB1MuqZyTgEm+H3vvedJgo39A9T8kMgVtllJ2+sBtpuV/N+8FH6lxT7DJwNM2 JfgJ5Skle1M3A== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 3/8] Docs/admin-guide/mm/damon/stat: fix a typo: s/sampling events/sampling interval/ Date: Sun, 26 Oct 2025 11:22:08 -0700 Message-ID: <20251026182216.118200-4-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" It is a contextual typo. Fix it. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/stat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/ad= min-guide/mm/damon/stat.rst index 4c517c2c219a..20f540a9d3d2 100644 --- a/Documentation/admin-guide/mm/damon/stat.rst +++ b/Documentation/admin-guide/mm/damon/stat.rst @@ -17,7 +17,7 @@ DAMON_STAT uses monitoring intervals :ref:`auto-tuning ` to make its accuracy high = and overhead minimum. It auto-tunes the intervals aiming 4 % of observable ac= cess events to be captured in each snapshot, while limiting the resulting sampl= ing -events to be 5 milliseconds in minimum and 10 seconds in maximum. On a few +interval to be 5 milliseconds in minimum and 10 seconds in maximum. On a = few production server systems, it resulted in consuming only 0.x % single CPU = time, while capturing reasonable quality of access patterns. =20 --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E97F82EF65C; Sun, 26 Oct 2025 18:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; cv=none; b=Q9BpqUipz2BjI3jU0vXHFYED/whav1gEFfSd2a/z/mWBkcW5f7UCfPwUfJ7Bpmg5Z+MTiQGxdZ0Mz5VGPgr1vj4gVtqy+nKgpjkI0CtqrdLpLekOFIQHx2Zf1FiXKxwEz5jRoNhk7GmePeIh6AvjiZTvhfRKwGtmmMczCH11HnE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; c=relaxed/simple; bh=6KFGqHMIsMqbpZ/3NGUtXQIvFV13533Rw2CJqlg7hEo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aE0WWVkcJOtQTQfz/6HIyY717LGdQyixy/8JFVt9YTF9apuwmBaG1q/+2ko/N9uAj/+ULWOXFdTldAw6MeQR8noKjzVlTdhocObtTmt/NNBUAv1YaXWfpU6oXxMCgsxAiZaw1Z7zrkYbnns/PNYaaMM+9Ch6+K7dcR/J4wrHaPI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RTAlIaFC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RTAlIaFC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F52AC113D0; Sun, 26 Oct 2025 18:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502944; bh=6KFGqHMIsMqbpZ/3NGUtXQIvFV13533Rw2CJqlg7hEo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RTAlIaFCfytgwXs9ORvXAod3Fz7oB58hyIdfeAIeJu5EwMeMSDUqlhKhIkn5ODmpD qp7P/wbYITc5L5MWvAoJnSeUPat0zM69YQPvRvVJHIh3iRW1gO8iM1jdMybEKeUtUF uaPhIU4SK+a2NMrYjjOml5gi38w+Rh3Mo5J67ZjMuwAp3STSGZdIGW96vhjbVADBKu 29sb9E46HBaFw7M9kUd+hByxhqalpWUuBNk/w85RVclxBwSAxyMml/gIWSt8AaflKf JtMnsBeUFq9z0L5nNLX7vgz0fJRbkdv6hu4qgskZXaUHt1GmXtTGBQn6NLEiUVumBt M1F+k6de/VBew== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 4/8] Docs/admin-guide/mm/damon/usage: document empty target regions commit behavior Date: Sun, 26 Oct 2025 11:22:09 -0700 Message-ID: <20251026182216.118200-5-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Committing a monitoring target with empty target regions is for keeping the current monitoring results. This behavior was introduced by commit 973233600676 ("mm/damon/sysfs: update monitoring target regions for online input commit"). The behavior is not documented, though. Update the usage document for clarifying this behavior. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/a= dmin-guide/mm/damon/usage.rst index d8a3d6e740b3..9991dad60fcf 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -134,7 +134,8 @@ Users can write below commands for the kdamond to the `= `state`` file. - ``on``: Start running. - ``off``: Stop running. - ``commit``: Read the user inputs in the sysfs files except ``state`` file - again. + again. Monitoring :ref:`target region ` inputs are also = be + ignored if no target region is specified. - ``update_tuned_intervals``: Update the contents of ``sample_us`` and ``aggr_us`` files of the kdamond with the auto-tuning applied ``sampling interval`` and ``aggregation interval`` for the files. Please refer to @@ -296,6 +297,11 @@ In the beginning, this directory has only one file, ``= nr_regions``. Writing a number (``N``) to the file creates the number of child directories named `= `0`` to ``N-1``. Each directory represents each initial monitoring target regi= on. =20 +If ``nr_regions`` is zero when committing new DAMON parameters online (wri= ting +``commit`` to ``state`` file of :ref:`kdamond `), the commit +logic ignores the target regions. In other words, the current monitoring +results for the target are preserved. + .. _sysfs_region: =20 regions// --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A62A2EFD86; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; cv=none; b=tG3r44EDm3cB0inifAIyXTvh5OvPB5GGpg2f7kENoUtaIKAu++DshziBfD6sifxmD78xSI5bJw++mb6iW8nKJgdA56c8ks88o5o+i5Vs/Y7HyacyhzF4TE2tllYos27Sd5RGBOe+0a6kn2QQJ+PEWDJZBvpEZiB1mJc4drWhkqg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; c=relaxed/simple; bh=8D5yaBNoORZTjw6kCzlvjtMnwf2Nw6k/T84eceynYyo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VX0FaQK2hrU8Qcxq4QQxArrkau18MUR61m+JANvPhIOBIu8SXzOab1ydi23zGZJ7ao0K/oWfEIH+DVOEDb7fz8Wgida3XODohj/i1UVnYWuk5UswA9L3Kqwa4eV8O9q0OIMRia067ATcnA3NlFGkVLweomRN30MzhehBEcSOPbM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JrXQl9tf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JrXQl9tf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A69EEC4CEFB; Sun, 26 Oct 2025 18:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502944; bh=8D5yaBNoORZTjw6kCzlvjtMnwf2Nw6k/T84eceynYyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JrXQl9tfSD27c7Z8V6xmI1K+BHriwIBFaEIky7BUctjW6S9ZqGYYE1bOhPPniqZVB L3riMN8A5k0Z8xn5kQXXJXW3oRdTsvdNe5oK3eUp7jlH1bVO3kG/WIIiu1LkkceVGi +i0dzpS3yDFNwvb0jLOxPZxn+jVBgteRM6dMdWjqGrrBZbLDMfGIQ2TL9q1L5ECWYa +NOu0R10XMorUUU7W6UZeYKagpAPUFcMJ8/s+oGJuhwMcjJ2+6lU55Cg7nRdzbxwB3 Vx+vd6DQ8204ArCRkZANQXgLdU6kTb2BqzoJM1hY2L+XYWOMwIOzVvC6gGdVIhzSKk Iw1IoQL2gaWgA== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 5/8] Docs/admin-guide/mm/damon/reclaim: document addr_unit parameter Date: Sun, 26 Oct 2025 11:22:10 -0700 Message-ID: <20251026182216.118200-6-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit 7db551fcfb2a ("mm/damon/reclaim: support addr_unit for DAMON_RECLAIM") introduced the 'addr_unit' parameter for DAMON_RECLAIM. But the usage document is not updated for that. Update the document. Signed-off-by: SeongJae Park --- .../admin-guide/mm/damon/reclaim.rst | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/admin-guide/mm/damon/reclaim.rst b/Documentation= /admin-guide/mm/damon/reclaim.rst index 92bb7cf1b558..552a7786b082 100644 --- a/Documentation/admin-guide/mm/damon/reclaim.rst +++ b/Documentation/admin-guide/mm/damon/reclaim.rst @@ -232,6 +232,28 @@ The end physical address of memory region that DAMON_R= ECLAIM will do work against. That is, DAMON_RECLAIM will find cold memory regions in this reg= ion and reclaims. By default, biggest System RAM is used as the region. =20 +addr_unit +--------- + +A scale factor for memory addresses and bytes. + +This parameter is for setting and getting the :ref:`address unit +` parameter of the DAMON instance for DAMON_RECLAI= M. + +``monitor_region_start`` and ``monitor_region_end`` should be provided in = this +unit. For example, let's suppose ``addr_unit``, ``monitor_region_start`` = and +``monitor_region_end`` are set as ``1024``, ``0`` and ``10``, respectively. +Then DAMON_RECLAIM will work for 10 KiB length of physical address range t= hat +starts from address zero (``[0 * 1024, 10 * 1024)`` in bytes). + +``bytes_reclaim_tried_regions`` and ``bytes_reclaimed_regions`` are also in +this unit. For example, let's suppose values of ``addr_unit``, +``bytes_reclaim_tried_regions`` and ``bytes_reclaimed_regions`` are ``1024= ``, +``42``, and ``32``, respectively. Then it means DAMON_RECLAIM tried to re= claim +42 KiB memory and successfully reclaimed 32 KiB memory in total. + +If unsure, use only the default value (``1``) and forget about this. + skip_anon --------- =20 --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69C002F0C7C; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; cv=none; b=P3Y9TbZMKpOhlKrYBbVMr86ZK3tYkCWL2sZVbGKS1vZ5i9SMU/rQHUxhrYHeGiAqp1FLLiWXYe5pQjmCeRBWHmW78td9xoi0U1rrBJCmg5ZeVZ9yDR14Jd1oDD22ZLwcMyssI0ibUSnjDlDlB2+SOnj7FLVXN8XSV8YXp/PZ0Us= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502945; c=relaxed/simple; bh=Ye9gPfLydwxtuswRkRjGLaZyg7wyJw5BXTXb4LCA/9g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tzOcv0akjS3ErLmlPuEmtbvrT8kjCITS8QhmdxzWf3SI1spQmlXJtxzSvc+cWIwDufAGTiJ4iDPdD+xSPUF7lCfAEWnmmX40j/puX8bC7ymopjx1LUPKrwAAJT2jdU+IMIBOI+lyLPl/9LDAb/w3n5ryNAaJ5N9Erk52nhRNqTo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=n4iaAqhw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="n4iaAqhw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0960FC116B1; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502945; bh=Ye9gPfLydwxtuswRkRjGLaZyg7wyJw5BXTXb4LCA/9g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n4iaAqhwB5JvVaVfwkYNA5j7yeVP+XbXRkVweDT6FKg34mWaD7CCR+yBJ+JHF23Sp GlxkkRonxGlH0NjNs5HuLLO2OBxbsOz2Jaz2k/HnLBlMOtcR3VOnw43j96aauZd1/C 23xcOPBr4ETIG0JTrPFHFJZb+VgolCm39vTsqNgsXfg9GR7IbAntrIsG8DLxDZeX0d LxX9F132MxbbKEYAur+rGu21J4TJqQNeTCd7ypogaBVJse3HzcJ+LdQr4AUVKlfBML ZuJ7XARQDRwvVdzKKb3cf4JBRGUZvSaqV0Vdmc0sqJOVSL3GWVfZH3VTGkKcEBIsVl oC7o9uQY5iHzw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 6/8] Docs/admin-guide/mm/damon/lru_sort: document addr_unit parameter Date: Sun, 26 Oct 2025 11:22:11 -0700 Message-ID: <20251026182216.118200-7-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit 2e0fe9245d6b ("mm/damon/lru_sort: support addr_unit for DAMON_LRU_SORT") introduced the 'addr_unit' parameter for DAMON_LRU_SORT. But the usage document is not updated for that. Update the document. Signed-off-by: SeongJae Park --- .../admin-guide/mm/damon/lru_sort.rst | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/admin-guide/mm/damon/lru_sort.rst b/Documentatio= n/admin-guide/mm/damon/lru_sort.rst index 7b0775d281b4..72a943202676 100644 --- a/Documentation/admin-guide/mm/damon/lru_sort.rst +++ b/Documentation/admin-guide/mm/damon/lru_sort.rst @@ -211,6 +211,28 @@ End of target memory region in physical address. The end physical address of memory region that DAMON_LRU_SORT will do work against. By default, biggest System RAM is used as the region. =20 +addr_unit +--------- + +A scale factor for memory addresses and bytes. + +This parameter is for setting and getting the :ref:`address unit +` parameter of the DAMON instance for DAMON_RECLAI= M. + +``monitor_region_start`` and ``monitor_region_end`` should be provided in = this +unit. For example, let's suppose ``addr_unit``, ``monitor_region_start`` = and +``monitor_region_end`` are set as ``1024``, ``0`` and ``10``, respectively. +Then DAMON_LRU_SORT will work for 10 KiB length of physical address range = that +starts from address zero (``[0 * 1024, 10 * 1024)`` in bytes). + +Stat parameters having ``bytes_`` prefix are also in this unit. For examp= le, +let's suppose values of ``addr_unit``, ``bytes_lru_sort_tried_hot_regions`= ` and +``bytes_lru_sorted_hot_regions`` are ``1024``, ``42``, and ``32``, +respectively. Then it means DAMON_LRU_SORT tried to LRU-sort 42 KiB of hot +memory and successfully LRU-sorted 32 KiB of the memory in total. + +If unsure, use only the default value (``1``) and forget about this. + kdamond_pid ----------- =20 --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14C792F12DE; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502946; cv=none; b=a5YcXVUrcglgKr+xV+Eavin1Q4Wi9fommoBdQ3Mcas++cT4f3sca0Yr03MYpnEP4BmXPCpL5PZLUFbvnUBcUslUtqx3A/5wzMRUdzVBYXPFVyVWJBvU7a6ZFGWmmn6NaRVVB2tZgwEroXpMqMiOCc+PJkIsQlkLQla7Fgm3iiqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502946; c=relaxed/simple; bh=HTEUhayo10VIIHTrpNQMg1meUMUdoEd6UZy7MJUO3rU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kXAkk9aAQ2em2rJjYkGGgvqAb3a4zf5iVj/9rj8XBWq/zfOnNcXCXoTPmJTsSIOje3X/egz4tTWWXuweDCiOLwr1Y5W4ufoM/SEKYe6bcqUXeRVke/XZyGtPMd6q/WndtV3ZZMMNOvTwVV5Va1T6ILhBWgZbig0V+4vQPLOdY10= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a8HhEKac; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a8HhEKac" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60492C4CEE7; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502945; bh=HTEUhayo10VIIHTrpNQMg1meUMUdoEd6UZy7MJUO3rU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a8HhEKacHBy4+fTLed4bI/HXIzp7f0fyoBsAaukKkycunU/gHfrRznT04l5Hpi6XS QX+yv9feyV4/2phxDVXL10MnhFjxx3pKGIrkyHJQtabJihUZh/XefOqpuBm9A8qowW xjJz2FeVtH1Wyvt9RcslPpeX8osSGVQ1HybXCNpwN3s1z4GcByZrb3Ls7lV+Pfj8C2 ccYDEjAXXn8c+6zchlv/j26VcUS2ul230UE/6ve4dm63r+KmxbFvgOirEuG4nzIVlY +YRAHmcrGlWj7wl1ixuTisJQ4OPWlJKQWZB/EV9UJ0n+MZdKwHoJhdziAESyqM2Xiw iisJsBClf9h5A== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 7/8] Docs/admin-guide/mm/damon/stat: document aggr_interval_us parameter Date: Sun, 26 Oct 2025 11:22:12 -0700 Message-ID: <20251026182216.118200-8-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit cc7ceb1d14b0 ("mm/damon/stat: expose the current tuned aggregation interval"), has introduced 'aggr_interval_us' parameter for DAMON_STAT. But the new parameter is not yet documented. Document it on the usage document for the module. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/stat.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/ad= min-guide/mm/damon/stat.rst index 20f540a9d3d2..754f98d47617 100644 --- a/Documentation/admin-guide/mm/damon/stat.rst +++ b/Documentation/admin-guide/mm/damon/stat.rst @@ -10,6 +10,8 @@ on the system's entire physical memory using DAMON, and p= rovides simplified access monitoring results statistics, namely idle time percentiles and estimated memory bandwidth. =20 +.. _damon_stat_monitoring_accuracy_overhead: + Monitoring Accuracy and Overhead =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D =20 @@ -19,7 +21,9 @@ overhead minimum. It auto-tunes the intervals aiming 4 %= of observable access events to be captured in each snapshot, while limiting the resulting sampl= ing interval to be 5 milliseconds in minimum and 10 seconds in maximum. On a = few production server systems, it resulted in consuming only 0.x % single CPU = time, -while capturing reasonable quality of access patterns. +while capturing reasonable quality of access patterns. The tuning-resulti= ng +intervals can be retrieved via ``aggr_interval_us`` :ref:`parameter +`. =20 Interface: Module Parameters =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D @@ -41,6 +45,18 @@ You can enable DAMON_STAT by setting the value of this p= arameter as ``Y``. Setting it as ``N`` disables DAMON_STAT. The default value is set by ``CONFIG_DAMON_STAT_ENABLED_DEFAULT`` build config option. =20 +.. _damon_stat_aggr_interval_us: + +aggr_interval_us +---------------- + +Auto-tuned aggregation time interval in microseconds. + +Users can read the aggregation interval of DAMON that is being used by the +DAMON instance for DAMON_STAT. It is :ref:`auto-tuned +` and therefore the value is +dynamically changed. + estimated_memory_bandwidth -------------------------- =20 --=20 2.47.3 From nobody Sat Feb 7 18:15:17 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F9282F1FE6; Sun, 26 Oct 2025 18:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502946; cv=none; b=ScJc+rmWqD5Icpq+3Wn8JhmEqz3NquZsPS4EJlt5sBGwqzXHKdFLk9EPb3oLffMyhLrxzHc3uKn3qON4to5XrRpnp3F/fg09/OpvmVz4ziPMEEVYvPzP6T74fHJ7URA4HpDE4t+7IgjDUGbZTMMrCcxLp77OjSASUi8GDKBjCGg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761502946; c=relaxed/simple; bh=I1qOOem2KN/JkZ9BYY8eeWzyQQxWRZ7InKt4fNjdwKE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Gw8Q2ePs1BZnnNi9CUiVLpwGIVVC82ZQl4kmrsDBpyyuc2X7eHNP6c2GQ5RXwjugA6WZtSn3DhAgqjgRAzTTFEkJVd/RdBiM1Q63UEJD9XrsSVK1XFJTIhgAyeXJChTYwrKD5MEDNYDEFyRemIixnEu+StSWAaPI+WPLsyUutKg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hz1orSbv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hz1orSbv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6B4BC116C6; Sun, 26 Oct 2025 18:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761502946; bh=I1qOOem2KN/JkZ9BYY8eeWzyQQxWRZ7InKt4fNjdwKE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hz1orSbvkBt07uCPY9LqB+5RZ4lOiEganPCCSlYwGKdf8CP5+J7XAkwN5Ov9Ow2aX k1Hp1eHEVwLCMHudHdZ8AZ9Y3xVPutNbeQ8aEDMz0QHP1MCQk+C9E9SplA4v2E/dhG KSc2I1kpRL2KEyL7ZyrUzL+SZAKWCRwYsWz1E7yGWqMJwdkTzGV3cbPe+oNqtMfeoK duJx7rjzR/20lz3rrdDelbelInYeuR72NwUwFemhjiPTKLZfPmKmQ9p9pnToJcz3iC MjbpydH0AkfLc0zE8FfYF33u2a7C6oJIl062xJ3rV3EUmagGbs8KbeE2CHGUI6LP3N 0yzbVz46qNZYg== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , "Liam R. Howlett" , David Hildenbrand , Jonathan Corbet , Lorenzo Stoakes , Michal Hocko , Mike Rapoport , Suren Baghdasaryan , Vlastimil Babka , damon@lists.linux.dev, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 8/8] Docs/admin-guide/mm/damon/stat: document negative idle time Date: Sun, 26 Oct 2025 11:22:13 -0700 Message-ID: <20251026182216.118200-9-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251026182216.118200-1-sj@kernel.org> References: <20251026182216.118200-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Commit a983a26d5298 ("mm/damon/stat: expose negative idle time") introduced the negative idle time feature for DAMON_STAT. But it is not documented. Document it on the usage document. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/stat.rst | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/stat.rst b/Documentation/ad= min-guide/mm/damon/stat.rst index 754f98d47617..e5a5a2c4f803 100644 --- a/Documentation/admin-guide/mm/damon/stat.rst +++ b/Documentation/admin-guide/mm/damon/stat.rst @@ -74,12 +74,13 @@ memory_idle_ms_percentiles Per-byte idle time (milliseconds) percentiles of the system. =20 DAMON_STAT calculates how long each byte of the memory was not accessed un= til -now (idle time), based on the current DAMON results snapshot. If DAMON fo= und a -region of access frequency (nr_accesses) larger than zero, every byte of t= he -region gets zero idle time. If a region has zero access frequency -(nr_accesses), how long the region was keeping the zero access frequency (= age) -becomes the idle time of every byte of the region. Then, DAMON_STAT expos= es -the percentiles of the idle time values via this read-only parameter. Rea= ding -the parameter returns 101 idle time values in milliseconds, separated by c= omma. +now (idle time), based on the current DAMON results snapshot. For regions +having access frequency (nr_accesses) larger than zero, how long the curre= nt +access frequency level was kept multiplied by ``-1`` becomes the idlee tim= e of +every byte of the region. If a region has zero access frequency (nr_acces= ses), +how long the region was keeping the zero access frequency (age) becomes the +idle time of every byte of the region. Then, DAMON_STAT exposes the +percentiles of the idle time values via this read-only parameter. Reading= the +parameter returns 101 idle time values in milliseconds, separated by comma. Each value represents 0-th, 1st, 2nd, 3rd, ..., 99th and 100th percentile = idle times. --=20 2.47.3