From patchwork Fri Dec 10 15:00:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12669735 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 8E069C433F5 for ; Fri, 10 Dec 2021 15:02:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BB4D06B0074; Fri, 10 Dec 2021 10:00:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8E3376B007B; Fri, 10 Dec 2021 10:00:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 74DA46B0078; Fri, 10 Dec 2021 10:00:48 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0073.hostedemail.com [216.40.44.73]) by kanga.kvack.org (Postfix) with ESMTP id 481416B0074 for ; Fri, 10 Dec 2021 10:00:48 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id EF5C2180EB6EF for ; Fri, 10 Dec 2021 15:00:37 +0000 (UTC) X-FDA: 78902196114.24.4319509 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf12.hostedemail.com (Postfix) with ESMTP id A54774000A for ; Fri, 10 Dec 2021 15:00:35 +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 20C77B8287C; Fri, 10 Dec 2021 15:00:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82C03C341C5; Fri, 10 Dec 2021 15:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639148435; bh=4d4SLklUxQ2JQcAHxAn5MLm1T/njPSHJ9DpKaw+ZmvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f0SDocJ2hOpYjfmxziuXYpl0FwZsFru7efEfq6frz/DfpYtFEj2pfi6ymZ4l0CHie 4Ou9chp6LFdmTP+NcgeQ+0taSYepL8rjWIhKvCEQGbv3iG0Oqn/m4znSv+cdLm1kxe y8VbHqcEZr2dF1j2WLZImzOXA/OgkDWR2eGeNiFjr18gZGk44t55nOPlcpg294wwkH IzozUj8iVerleJBiFH+jFU9LnqU2mjU1txIzuHO1/u29NQAy0WB+6oTFO1a2gbOfrl HZX0PTI8nEr17fVXeDzrvuTsS4UtG0u6rdQK0ML71HRX1R5whpu+XRZcWi9NWJjCAb lTenzDOsqG3oA== From: SeongJae Park To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 6/6] Docs/admin-guide/mm/damon/usage: Update for schemes statistics Date: Fri, 10 Dec 2021 15:00:16 +0000 Message-Id: <20211210150016.35349-7-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211210150016.35349-1-sj@kernel.org> References: <20211210150016.35349-1-sj@kernel.org> X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: A54774000A X-Stat-Signature: 7f45ko6ydots1c7rgt1uybu3o4gdboiy Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=f0SDocJ2; spf=pass (imf12.hostedemail.com: domain of sj@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1639148435-491230 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: This commit updates DAMON debugfs interface for statistics of schemes successfully applied regions and time/space quota limit exceeds counts. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index cb614c84ba9e..59b84904a854 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -223,12 +223,13 @@ is activated. Statistics ~~~~~~~~~~ -It also counts the total number and bytes of regions that each scheme is -applied. This statistics can be used for online analysis or tuning of the -schemes. +It also counts the total number and bytes of regions that each scheme is tried +to be applied, the two numbers for the regions that each scheme is successfully +applied, and the total number of the quota limit exceeds. This statistics can +be used for online analysis or tuning of the schemes. The statistics can be shown by reading the ``schemes`` file. Reading the file -will show each scheme you entered in each line, and the two numbers for the +will show each scheme you entered in each line, and the five numbers for the statistics will be added at the end of each line. Example