From patchwork Tue Jan 30 01:35:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13536660 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 4F0CBC47DA9 for ; Tue, 30 Jan 2024 01:36:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8BE216B009C; Mon, 29 Jan 2024 20:36:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 846C66B009D; Mon, 29 Jan 2024 20:36:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6C0596B009E; Mon, 29 Jan 2024 20:36:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 505F36B009C for ; Mon, 29 Jan 2024 20:36:03 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 2DFBF1A0A02 for ; Tue, 30 Jan 2024 01:36:03 +0000 (UTC) X-FDA: 81734261406.16.11BD614 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf11.hostedemail.com (Postfix) with ESMTP id 3255A4000B for ; Tue, 30 Jan 2024 01:36:00 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=IJQr6Eul; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706578561; 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=1eHkNz4ecpOcbknZID2dMz35KiFLEgs/NCQufuit5Tw=; b=t2Mb+izK8GbJkQT/NDHrDLL/TxSKGa4E6sfaqDRnZOiCUTDuIKvm8YJFDSX773PWWqHkRl Bv3ZxSdhAPoVfemCI2Ki2aZB+kWguNeGJUklR4mEWtIZMR3nRfr5zsfauz5WgRR0kNpEKe oPu3Nmo2xqpKVMHoXU2r/CW2+7ckK5U= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706578561; a=rsa-sha256; cv=none; b=v/bOMf7OdxMNLGkEXIt4cNgonIXVHYeMxgwmWHWWRMErNy9LZzl7rdy2gzz6aVp3Jov/07 F5x7yzE23h84vYjDdRt8c9VFM66aVRWq8OA+Uhndjg3Tqxy1vhwKnyWZ5yKKO2slHo6zCG D0izBKZLZDaK5ZgCqitJLyf5/QItyw0= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=IJQr6Eul; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id ADFBECE16B0; Tue, 30 Jan 2024 01:35:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C506C433F1; Tue, 30 Jan 2024 01:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706578556; bh=Vvkeu61i6vdOz/6no5T26QV127L9fGOYLD6tF9jpGww=; h=From:To:Cc:Subject:Date:From; b=IJQr6Eul5PF/ZAc/M1vLjnFqj548hUzTdsNfcEbNG3K2p/kAuWlH2qTvnT2bzrE+d mWjUbzlG1QCCcJ4u2TbppnxJHh4J3jnryLPGrBH/lmd4X2coK9IgzevxN/zxmElyyO 23aHtv534j1l73V9n1AUbU8trZta6Zj9NPJnpt+xi7Gg1zm3wL0XVCOnLSdNz1XFZv 0BeQlV0DrxYAOMhx8ThIwGbORXc1Z1Bb5gbD4dUnryBcJobN+UQ/k8N4GBmjzSaYJc kPf+6QoU8OQ72RshjB0KU1FPbVBcCi7aacc3MATN+YVCZrGjTj2OTQ8gDGhnGvGRFp gn8VwnSVSgbxQ== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Jonathan Corbet , Shuah Khan , Alex Shi , Hu Haowen <2023002089@link.tyut.edu.cn>, Yanteng Si , damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/9] mm/damon: make DAMON debugfs interface deprecation unignorable Date: Mon, 29 Jan 2024 17:35:39 -0800 Message-Id: <20240130013549.89538-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 3255A4000B X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 6d5ae3dieuqwz6ggubwkjk1q4mghpf35 X-HE-Tag: 1706578560-212604 X-HE-Meta: U2FsdGVkX1+YdfrixTW50KRuyRsZIdsuF4VyruaYeMVmcGagEfyt82Kqne6YiO+Mk1ZPby1pt7YdOKE8ik7yChLMPbPfFGEhKeqFxeIqnAfuZcJCtHPLLgx0dRwAVqpL4sqYXbXk7w8RP5R3+aJdIDRFC1YL7qjT86Ei3AlKMS0nkuaL5833d+Fha2ZF3W3HnAPyXNKq7BV/F/gYwiho6izEROVvDoB4EvrhS+eT8zosGetcPHp//NvrFaPNqvrgNHj/SdfPc3mRhdihnSo86ZV/05hty7pu7/eLiPc1285/LNRwP3OVogjGLj/NbJDnOfRaNM767dUrOuOz6x/TLREiAGhiAK2lz67HjA9Yx3SI2/BAUItOzU16hsnsQ+3tiRFCNtrePTc6xhcrGsiFdAW7n4i08bWiuOrclPm2jJml2TRbY1e0zEogK7qLVb6dT+XvEwQcoWMULT0V16Ffe2s0UFeH0NImBcthbRBV6IfhKbEXNZ7D8vVq7L2E5phESf9fIiZ1iMJf2jmgOtPcmX+VU6tpcGr/69Vr2Rie5xJNMe1VoC9pyIlgBZuaG+njj8FpGqll6KzMz3/U6v09nulK3oTsTeOqq28x3GWyF4p+e2j5LCihGK4HG/huIDSKdXsLlDYVhO4zMd5qNlIxOY88XvcQ3pSblPdP0E7da4/3nXZk2HKu2hQnc+k6VLUs+FMzu/5H/Ft3D4ufX2M9XrJRulxNKxn/coiQe2rBpSOJfFrxhWhXhI7mgIHWj66m6lPv+f8ztVVoTyBIg4/igRzgBeK3XcTZUYRpC7v0uwwjJY0uHagK5gdPLNn+QBSM5Mk94JHeb4KA/j4Atg0V/M+xJuFRN9aRVPmMhiQwBd4s1doGt9nl14ccpAJqY9uvou/2pdLsYopwzLrwdQP7ouvLYriFgSUo9isC5ceP9QT26LXP5A2C6JFzjneRJRmTIojYw67EXriUA+vC1jh LcOuue8L eNL6iqtBShGt+O80Uf6ieJTnyqjQea2XcT3CrPzLmQkMJd+uqHxiF4ku9YPPJAZvg88+l/LsHxkk5/qKKo4+Ty1VRyihsMZaOkUmarD2hhp8stP4iTqzdQrhTMYPk8AxjaCH74t4nyAm4kmbpNV6v4RJdyUcrjrS56gqaNmr4Qx1gPgRsYRxa+cwkKQ== 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: List-Subscribe: List-Unsubscribe: DAMON debugfs interface is deprecated in February 2023, by commit 5445fcbc4cda ("Docs/admin-guide/mm/damon/usage: add DAMON debugfs interface deprecation notice"). Make the fact unable to be easily ignored by removing an example usage from the document (patch 1), renaming the config (patch 2), adding a deprecation notice file to the debugfs directory (patches 3-5), and renaming the debugfs file that essnetial to be used for real use of DAMON (patches 6-9). SeongJae Park (9): Docs/admin-guide/mm/damon/usage: use sysfs interface for tracepoints example mm/damon: rename CONFIG_DAMON_DBGFS to DAMON_DBGFS_DEPRECATED mm/damon/dbgfs: implement deprecation notice file mm/damon/dbgfs: make debugfs interface deprecation message a macro Docs/admin-guide/mm/damon/usage: document 'DEPRECATED' file of DAMON debugfs interface selftets/damon: prepare for monitor_on file renaming mm/damon/dbgfs: rename monitor_on file to monitor_on_DEPRECATED Docs/admin-guide/mm/damon/usage: update for monitor_on renaming Docs/translations/damon/usage: update for monitor_on renaming Documentation/admin-guide/mm/damon/usage.rst | 42 +++++++++++-------- .../zh_CN/admin-guide/mm/damon/usage.rst | 20 ++++----- .../zh_TW/admin-guide/mm/damon/usage.rst | 20 ++++----- mm/damon/Kconfig | 7 +++- mm/damon/dbgfs.c | 27 +++++++++--- .../selftests/damon/_chk_dependency.sh | 11 ++++- .../selftests/damon/_debugfs_common.sh | 7 ++++ .../selftests/damon/debugfs_empty_targets.sh | 12 +++++- 8 files changed, 98 insertions(+), 48 deletions(-) base-commit: f1ab2f51e99ffb94ce127d132b24be00dc130e6c