Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2431413rwn; Fri, 9 Sep 2022 13:43:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR66/LR6zi3u5BlhImeO3MV4Qc4J3EtNgu5yNe3yLI95P40jECqvohKIA/3g2PvuL1UvMY6Y X-Received: by 2002:a17:907:8a1a:b0:731:6475:68f7 with SMTP id sc26-20020a1709078a1a00b00731647568f7mr10815002ejc.359.1662756188590; Fri, 09 Sep 2022 13:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662756188; cv=none; d=google.com; s=arc-20160816; b=aqJvNtO3ja6P14juVmJxUylQ8cFKNMPvAetZKwmbxRDj6HTMVi83vPrkvgIUPNtjQR OYzTSkNsIMninln2gkgY0FWfzXMuYNR+ookZ3ggTkAbSJl5+uFYPT2t4dhwNimOVvdBY srwYXZYK67eLh8Q3x6fjIK0R8eOkbugf9SapqWUNG8QC+7K/ldudmJM5ZvcOMhb6pDGr RaF9EB6oqRE9vuBa8udcMwZyi1wBlm/BD2MPvpUUVUrYF2yocp81Cr/D09Yxwt3SSUQk O/4V7ofqI0PPNjv4oneDwGVwik5pA62q1NFmviC4U0yEHm/xDqaOmpl4fHgY6O5s5CuZ 8XJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OYPzfT0QJ/GdRwXTLcfFBZJCnION2w+GXurqsUeBPog=; b=POyONYCHEyJC/a7ipPt/99NvuSI0HmK3vsleIJ+7HjMh5slNakUjEJrqtXEmcPphRY HxLawSlHjGPe+Tn26KmYh1klwSN2l+A5Lep+nVUvaqirG4nr1Xuqv+Sbwb/Gf6hwyfEd g4X9nzIqJ7QKUlzd+Sj26acZFt/rM9uf7f2J1R0MbbCfntYC8tIFm+57koc97VrvyEpu qA3hte9PFyv7baGGO7HEP3PPM3Pghqdynr3fM/NKCkyP9o4JEocQ0kgYXl8U/RWGnC3D NPz/cuibk2y2HeHMONGsgletZ4imTOxkGeFBTgc0LSPAThHrSscPeN+sdgraF66JAZKq INcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SKFDbBEJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gs41-20020a1709072d2900b00741555776c1si1337545ejc.680.2022.09.09.13.42.41; Fri, 09 Sep 2022 13:43:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SKFDbBEJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231538AbiIIUaz (ORCPT + 99 others); Fri, 9 Sep 2022 16:30:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232167AbiIIU36 (ORCPT ); Fri, 9 Sep 2022 16:29:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9074712ED90; Fri, 9 Sep 2022 13:29:11 -0700 (PDT) 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 51E8AB8263D; Fri, 9 Sep 2022 20:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D210C433B5; Fri, 9 Sep 2022 20:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662755349; bh=c/LlClDFkomglVBmI+e/AfXU1bu10Srp2u/iwk3ayRo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SKFDbBEJPpu9o71DSKWucKzDnYfHJ46Mw5IuVdh4sib1buz9UJZY9VFsxJ9TmVpfv 9W/+Ijx7nGgKZJYWkUigQUJIrgiiN6YW3+QP0VMvmtRG51ij1jf7yZXr/pUZmMfx4M xhsfQSlc4wwOZgOdr+5LGwolssAveCxQEMewgp4SDM2BDeNZwTt6j0gMzDBshvizuS P+r19tASMND//x7KTOpqkILncHfSczF9fgmPJYoBKilS+v0bQZmQZFdVbi8ZaYuShk 3O/2RBFW1U8gxrYkeQgi2GKm+FEvYQCcmWMRPv95JPuYMqkiKwjGg+5UYoUMAd3mZ+ bqCHFxBWTgHhA== 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 7/7] Docs/admin-guide/mm/damon/usage: note DAMON debugfs interface deprecation plan Date: Fri, 9 Sep 2022 20:29:01 +0000 Message-Id: <20220909202901.57977-8-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit b18402726bd1 ("Docs/admin-guide/mm/damon/usage: document DAMON sysfs interface") announced the DAMON debugfs interface deprecation plan, but it is not so aggressively announced. As the deprecation time is coming, this commit makes the announce more easy to be found by adding the note at the beginning of the DAMON debugfs interface usage document. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index d52f572a9029..c050b882ddc1 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -393,6 +393,11 @@ the files as above. Above is only for an example. debugfs Interface ================= +.. note:: + + DAMON debugfs interface will be removed after next LTS kernel is released, so + users should move to the :ref:`sysfs interface `. + DAMON exports eight files, ``attrs``, ``target_ids``, ``init_regions``, ``schemes``, ``monitor_on``, ``kdamond_pid``, ``mk_contexts`` and ``rm_contexts`` under its debugfs directory, ``/damon/``. -- 2.25.1