From patchwork Fri Sep 9 20:29:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12972165 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 D7A22ECAAA1 for ; Fri, 9 Sep 2022 20:29:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EB62D8D000B; Fri, 9 Sep 2022 16:29:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E19638D0006; Fri, 9 Sep 2022 16:29:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C45CA8D000B; Fri, 9 Sep 2022 16:29:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id A18308D0006 for ; Fri, 9 Sep 2022 16:29:13 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 74992AB15E for ; Fri, 9 Sep 2022 20:29:13 +0000 (UTC) X-FDA: 79893686586.10.DBFDBEF Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf15.hostedemail.com (Postfix) with ESMTP id F16E2A0081 for ; Fri, 9 Sep 2022 20:29:12 +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 sin.source.kernel.org (Postfix) with ESMTPS id 6DDEBCE249F; Fri, 9 Sep 2022 20:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C003BC433D7; Fri, 9 Sep 2022 20:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662755348; bh=ayER6vHBJnsSeDv1Q+T6kbhfCJxElLtfrCsQPcSQvis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iD8DOEQkHEPiFguPg2q2x1CH6DC+RWF5kt118ZFZ19ZF4+PcPl1PZdCkNz1H836qo B9Ngi6ACuVnbW2X62N2XmVeBamhhZDEjBZKnSqH9eRwt6Pbresu8Xr/emgRLfkZbXS sjMeqfVlkvRdGqK/k7w/F/gLOXxUgDshpjv5kqbZmZDJsumay8YY0z++Q3dEHX/8yZ QmpPzlktA4HvMvZK6PQKZHP/SzezYwxCMVUD+/TIEBK0TGZ65EG1v2tMJGd4YMIa7k DbYfQT+uVbA0nwnW8nY0ED5RBOKJPbTpRsPbgBPu+pSqHQ/fIcHpZY2e7Kj5qHCkB8 Bh8DuuDPtC8QQ== From: SeongJae Park To: Andrew Morton Cc: Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 6/7] Docs/admin-guide/mm/damon/start: mention the dependency as sysfs instead of debugfs Date: Fri, 9 Sep 2022 20:29:00 +0000 Message-Id: <20220909202901.57977-7-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220909202901.57977-1-sj@kernel.org> References: <20220909202901.57977-1-sj@kernel.org> MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662755353; a=rsa-sha256; cv=none; b=KVWt6oHHlplvhhChXdC90BcdCFlyiykTVDBLXxHJOmZ68rn5XFkCYQg03REjlR+Dtql789 TjHzvmoAZ4zSReLaVpWvdseptjH75J7hnLKh7rje3SZVFFrUcDTIc+C15sKoiFFYAo1N67 MBV1edfOnUzVW2dyKJUeWIcNMdR8oXc= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=iD8DOEQk; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf15.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 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=1662755353; 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=Yf3ELlUirxl9CMhzK5MiW/ogxWaiHKcRWZUDjUzIu+U=; b=RUr+35njLX8sj6e/lOholw6qrD8stTXDE1Ih2EDrXZQwOSdp90lxB5B69nQp3mZeNKRRJ9 7LTz8QSapx1A/c0pGEeNZt4gPm7Cwj0qW9tajYzq0zR15+2HGvhpq3JqCL87dNOuX5xnPE ckglHv6yWVFEB3UKQrXIvuHzTavMxZI= Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=iD8DOEQk; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf15.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org X-Rspam-User: X-Rspamd-Server: rspam10 X-Stat-Signature: coxbdpaprt1j6bfohzctk6stghsh599r X-Rspamd-Queue-Id: F16E2A0081 X-HE-Tag: 1662755352-466990 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: 'Getting Started' document of DAMON says DAMON user-space tool, damo[1], is using DAMON debugfs interface, and therefore it needs to ensure debugfs is mounted. However, the latest version of the tool is using DAMON sysfs interface. Moreover, DAMON debugfs interface is going to be deprecated as announced by commit b18402726bd1 ("Docs/admin-guide/mm/damon/usage: document DAMON sysfs interface"). This commit therefore update the document to tell readers about DAMON sysfs interface dependency instead and never mention about debugfs interface, which will be deprecated. [1] https://github.com/awslabs/damo Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/start.rst | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/start.rst b/Documentation/admin-guide/mm/damon/start.rst index 4d5ca2c46288..9f88afc734da 100644 --- a/Documentation/admin-guide/mm/damon/start.rst +++ b/Documentation/admin-guide/mm/damon/start.rst @@ -29,16 +29,9 @@ called DAMON Operator (DAMO). It is available at https://github.com/awslabs/damo. The examples below assume that ``damo`` is on your ``$PATH``. It's not mandatory, though. -Because DAMO is using the debugfs interface (refer to :doc:`usage` for the -detail) of DAMON, you should ensure debugfs is mounted. Mount it manually as -below:: - - # mount -t debugfs none /sys/kernel/debug/ - -or append the following line to your ``/etc/fstab`` file so that your system -can automatically mount debugfs upon booting:: - - debugfs /sys/kernel/debug debugfs defaults 0 0 +Because DAMO is using the sysfs interface (refer to :doc:`usage` for the +detail) of DAMON, you should ensure :doc:`sysfs ` is +mounted. Recording Data Access Patterns