From mboxrd@z Thu Jan 1 00:00:00 1970 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 8AC27C433EF for ; Fri, 14 Jan 2022 22:10:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 24A336B0193; Fri, 14 Jan 2022 17:10:30 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1F9BA6B0195; Fri, 14 Jan 2022 17:10:30 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0E9DB6B0196; Fri, 14 Jan 2022 17:10:30 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0030.hostedemail.com [216.40.44.30]) by kanga.kvack.org (Postfix) with ESMTP id EFCAD6B0193 for ; Fri, 14 Jan 2022 17:10:29 -0500 (EST) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id B956E1826B6AD for ; Fri, 14 Jan 2022 22:10:29 +0000 (UTC) X-FDA: 79030287378.19.195DD1A Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf14.hostedemail.com (Postfix) with ESMTP id 4408910000C for ; Fri, 14 Jan 2022 22:10:29 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41F5AB825F5; Fri, 14 Jan 2022 22:10:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E43CFC36AE5; Fri, 14 Jan 2022 22:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1642198227; bh=+Liij4OSwUtj1wepAGX3ZoZnxl68z6mZqipSVj0FaI0=; h=Date:From:To:Subject:In-Reply-To:From; b=YsMNIwKowDHDrfcRGFZEs0nLwy95ZEpipbXDUTpImAobT7tJxPzm3HS22oi7bF9Te awHwYcuCKMGHbFEcKd/adYlqSAuF2Ir9zA6RtlQwu0XzsHC5GY0M2vN8oPiJkqjTS+ DxHWMkJBru3F0X/FiJ0N8v3X1OUPI/SPtqEdxsD8= Date: Fri, 14 Jan 2022 14:10:26 -0800 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, sj@kernel.org, torvalds@linux-foundation.org Subject: [patch 138/146] Docs/admin-guide/mm/damon/reclaim: document statistics parameters Message-ID: <20220114221026.JpjZy9r0m%akpm@linux-foundation.org> In-Reply-To: <20220114140222.6b14f0061194d3200000c52d@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 4408910000C X-Stat-Signature: 5c4w7fa9qf4s7cqutypg5s5hx3o8914w Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=YsMNIwKo; dmarc=none; spf=pass (imf14.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-HE-Tag: 1642198229-13673 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: From: SeongJae Park Subject: Docs/admin-guide/mm/damon/reclaim: document statistics parameters This commit adds descriptions for the DAMON_RECLAIM statistics parameters. Link: https://lkml.kernel.org/r/20211210150016.35349-5-sj@kernel.org Signed-off-by: SeongJae Park Signed-off-by: Andrew Morton --- Documentation/admin-guide/mm/damon/reclaim.rst | 25 +++++++++++++++ 1 file changed, 25 insertions(+) --- a/Documentation/admin-guide/mm/damon/reclaim.rst~docs-admin-guide-mm-damon-reclaim-document-statistics-parameters +++ a/Documentation/admin-guide/mm/damon/reclaim.rst @@ -208,6 +208,31 @@ PID of the DAMON thread. If DAMON_RECLAIM is enabled, this becomes the PID of the worker thread. Else, -1. +nr_reclaim_tried_regions +------------------------ + +Number of memory regions that tried to be reclaimed by DAMON_RECLAIM. + +bytes_reclaim_tried_regions +--------------------------- + +Total bytes of memory regions that tried to be reclaimed by DAMON_RECLAIM. + +nr_reclaimed_regions +-------------------- + +Number of memory regions that successfully be reclaimed by DAMON_RECLAIM. + +bytes_reclaimed_regions +----------------------- + +Total bytes of memory regions that successfully be reclaimed by DAMON_RECLAIM. + +nr_quota_exceeds +---------------- + +Number of times that the time/space quota limits have exceeded. + Example ======= _