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: 13135368 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 9AAB7C05027 for ; Fri, 10 Feb 2023 04:48:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F3F86B00EB; Thu, 9 Feb 2023 23:48:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A2CE6B00ED; Thu, 9 Feb 2023 23:48:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 091D96B00EE; Thu, 9 Feb 2023 23:48:45 -0500 (EST) 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 EC6D66B00EB for ; Thu, 9 Feb 2023 23:48:44 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id C0E5DA12BD for ; Fri, 10 Feb 2023 04:48:44 +0000 (UTC) X-FDA: 80450151768.05.60FBD3C Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf29.hostedemail.com (Postfix) with ESMTP id 28AEF120004 for ; Fri, 10 Feb 2023 04:48:42 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jFd1M4IT; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf29.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 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=1676004523; 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:references:dkim-signature; bh=doATkl0P1KqYBnALbR3boOVDhpl61owqGsGFwKgCPsc=; b=K7CmTAZwXr7MvfjgelIneZyKvzJidVac9FONePFz8Tqfwo/7Dt5qrU4WFGJZTW/qZwZ1Gj /3DTez4QUR9GueWIY5F6I1cmIy6PRNQ5AvMImlo2+R+is0yuhXJZTG3Z5xdODLlCLUEYKA IDpalCOo55qwG1HfuK/DCjNfEV10+84= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jFd1M4IT; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf29.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1676004523; a=rsa-sha256; cv=none; b=UUX/oVvW75JMXqB/yoLFNTERcLM9xtHEI6SUL1YlpdKlMIsWakgc7CKvkiyi4LZER8vAFI DgbeidvHdeNaLS1euh80EkzUIB3jJd4VxMxz55o8eHeJ7M3kXsAsZG/T3l3AKuMMXaqqXd BnZ/oIWcCDgko3Q6nAb796hDVLgY800= 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 dfw.source.kernel.org (Postfix) with ESMTPS id 1971361C14; 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-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 28AEF120004 X-Stat-Signature: 8n6raw7rutenq7iadsteskyiip3twuzq X-HE-Tag: 1676004522-226665 X-HE-Meta: U2FsdGVkX19mi3Nh1WT1RNhcDmDKXsNmD8oq0FE1tDCjodptZUZucFk32CxZDd7sGP7Y1b4PyHjzYalx7GGqvOoCTJjfc+YpsZuWfwu8SRLNSIpK0pRkftgOwAFJILOKUNB22/am3BNNPn5B8CwpL6Snp/UXqzEg9atfaehtuPKSXwHj5PJQRaymC+uBb3SJjKoZ8m35zmBzmoZAusUQmnnxZ7+KkaahlrBYRs7hG5ZXQCDyiUlJrL+IROMGxoeJAorTR6p86A2cK8Pa0FWpt3tC1avrkPw8GDTwpmIwVD1S9chLdDGVUkwiVph3un9Yh14reyPQozLfkc1ARaaYyrEbN+2oW4ivZjac7leklDEqZBiP9Rv4n1rWzx136vmKnZts5cz8GE3Z0IXrWpQJ7jBfXr2CQEh1XckM0lcJfIASR6xSIwI3tTSXBtZyFUw/sG5a6ymHE4bCSCQf2v6/GD7bn1Cauh6JnAjXCGZ2MPYoPTztqjQLrimPodKzQlVXMZ7KDND0RWf1EtNUv3M7ZdEokFjBJZp8bcaDsXkMJtxUbRhmP8inLafUZF3j79yvqoVIb7QdSvxoO5sqOtG3WhIB4ZDiroNVMPIOtPQW7T5fL1FWGQz8cysnBc+2hUghWudKU8jXdpv5GWh+llZXsTvHosqYQs74KrEm8SM16fVrOZrPMp4Nm8xVxmDPTr2RwKT/gI/iwRq48jm0/S+5BXcT3ozaEs9JEMR88OW8imr82/ZSNWOwuygVl8yJKoA6MwixcDPFb9BOhWf3amD2fvLD2FLnHV6BOiJCJrIJUMJi9BAPokgJjRnUReamleNERM69GQUYwZkSQBeeu05zRMl0sYUENKRHhMwWoRbmoSlNVHZajxfx89KGIvUE/gAU5FeEKND0BkVNh25bYWWokbRByXZpoV2dZ36FP+brBK3evquDak4lnCDfhCP6FiO2Pm8pEW3B7kthjtzYrOP vweD9N4l UeYYcFZCzP3SQjcOiw0DG/BtgASZYWXSgMuUDIPjPxk/UndYxynwb8hEOTkWS+k0TfbWD7y/G7qW+JA3U4Sd8kR0XJTxal2BebpKx/4mM6iERU/nhkGyohm4RZuvKZCpnwRKRde74Lgij1+s7/zcqh9Xu7gD69nn4EDVejabXrBDXG0LlpqEZ/bQY3h91+v96nmLMVOodfVpP3tu0TvKHuGt47cbDTIro+J8ZwwwyZAIdds63ZG3hPQIYNWReuU++k0KAnweoC953L8CTRibJ9P5rzfDFr2QaJziTkdDcoiznAvqeGX+LyXcE5cWTkhPdT9iVQx34MJIOgqGevAhjYsAlc+MUBNctpG8i 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: 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