From patchwork Fri Feb 10 04:48:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 5210 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp755403wrn; Thu, 9 Feb 2023 20:51:13 -0800 (PST) X-Google-Smtp-Source: AK7set+4xWLbgWGS64Y45B8d7TqtoRsObxktUZJd6+VzzPKikWcYGeoVkpfjHxzc0Plq6U4EISXk X-Received: by 2002:a17:907:9619:b0:8ae:ea17:bae4 with SMTP id gb25-20020a170907961900b008aeea17bae4mr10492293ejc.30.1676004672981; Thu, 09 Feb 2023 20:51:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676004672; cv=none; d=google.com; s=arc-20160816; b=Bw7tkGKrAga7RTGAI7D2nhdOXLLUk6wsyRUq91CvXtaX8fwozJZheujGIjDYA7fQU4 3ljfloH1WdVt5fYOVc036ktc4JKo3uQ/yIcZcGcIeLF3KMc2ZXW+51NNOfAu7x3tOBry XskmU7mwlUkJjF7mpearBSqj10ltdTglXVdDPObuu93I7Zvi2CbnPhL6rpTp8RnL8ZAw n4k7cLGK0AR+gUu/xK4fRuB9XlmeUf+YlXc9qe44CkeU5wUkkyl/YuBbi/ymGgROlZbc Im40PqwcoKfwjotOoa6YBo/UlBQFtZasEceFu9NUODqSjQnIZGfRnu7oZcW1G8iXGwsh NcMQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=doATkl0P1KqYBnALbR3boOVDhpl61owqGsGFwKgCPsc=; b=OK/kf5AFNKKI5osEVO7mjvXq+Jq+mj4r/4OYPyEy1FhWt+tb/YxYiSZudZkCZsSpyS 6W606uzLF6gHdwN6nZMS7agmZqnAQ31ZLxbE4IJQEqs2f8ntvRffa1fU4zM5FYcj+taI vIAC2VE4btveE1WCMY5K3lH5RqqScLWpiI8j6tu8B1sSLRSXcyPocsgMePAAmC1hghlo dLv7TeTarZuSq25N20FFTvWb9ts1K4/Pjx6G8DtQqSQGYb8XAJwNVW/Ybx7T8ubs53FX dIXOHhWva+Sa8itfdbgO+TausclJmYEFYihKCq3kxxTafnVogG6DnnrCUM0oGb3HJqOB JtXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jFd1M4IT; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vl6-20020a17090730c600b00877dde5c2a7si5595822ejb.599.2023.02.09.20.50.50; Thu, 09 Feb 2023 20:51:12 -0800 (PST) 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=jFd1M4IT; 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 S230338AbjBJEst (ORCPT + 99 others); Thu, 9 Feb 2023 23:48:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjBJEsp (ORCPT ); Thu, 9 Feb 2023 23:48:45 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EC265B74C; Thu, 9 Feb 2023 20:48:44 -0800 (PST) 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 DF186B82396; Fri, 10 Feb 2023 04:48:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6D41C433EF; Fri, 10 Feb 2023 04:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676004521; bh=CqpSbVgrETNlESqnil/71IVuAjYqx++3GXa0BpC9WVQ=; h=From:To:Cc:Subject:Date:From; b=jFd1M4ITnLbTlj2BE/Kpn28ls8RmN+Q4OzxJJ9aV4F1XQF9xfM/NCs6D/pz9WA9Pw Qvrq6Or2IMB+mDHBPB01nR3Y/uuC+tjnCFPdoERFUwkqh8z4W3LAxkS6bBP/AZ64Iq IJd9lsJ1SJDOoy7aqT1QoYuiPl3lvePq7wqZbdpFMA1gFtz+bjtPMwfsBOFpXDIwCx Y7VmB7dVH3s1urMqATqSnXVa5MxJCe/oP8Tc2Xq918FXlsemo0ddn5eF1FEegjjYM+ Mc5X1haE5vR7VzQzs3QXUYjHC6egXQVUB66r0NeuztVYpcMsA7K657Ls0T0z/ueStl LYvEBMT/6ZG0g== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] mm/damon: deprecate DAMON debugfs interface Date: Fri, 10 Feb 2023 04:48:35 +0000 Message-Id: <20230210044838.63723-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757418275724675178?= X-GMAIL-MSGID: =?utf-8?q?1757418275724675178?= Changes from v1 (https://lore.kernel.org/damon/20230209192009.7885-1-sj@kernel.org/) - Split DAMON debugfs file open warning message (Randy Dunlap) ----- DAMON debugfs interface has announced to be deprecated after >v5.15 LTS kernel is released. And, v6.1.y has announced to be an LTS[1]. Though the announcement was there for a while, some people might not noticed that so far. Also, some users could depend on it and have problems at movng to the alternative (DAMON sysfs interface). For such cases, keep the code and documents with warning messages and contacts to ask helps for the deprecation. [1] https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=332e9121320bc7461b2d3a79665caf153e51732c SeongJae Park (3): Docs/admin-guide/mm/damon/usage: add DAMON debugfs interface deprecation notice mm/damon/Kconfig: add DAMON debugfs interface deprecation notice mm/damon/dbgfs: print DAMON debugfs interface deprecation message Documentation/admin-guide/mm/damon/usage.rst | 20 +++++++++++++------- mm/damon/Kconfig | 7 ++++--- mm/damon/dbgfs.c | 19 +++++++++++++++++++ 3 files changed, 36 insertions(+), 10 deletions(-) Signed-off-by: SeongJae Park