Message ID | 20240130013549.89538-1-sj@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp939897dyb; Mon, 29 Jan 2024 17:36:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVCpOJnDvLH5jELFfq+QByuzfCR0QLpUaSmWGbkks3oPwE0XrJ+a7p09s3taePJduaZGs/ X-Received: by 2002:a05:620a:c92:b0:783:df02:6e6 with SMTP id q18-20020a05620a0c9200b00783df0206e6mr300117qki.52.1706578607042; Mon, 29 Jan 2024 17:36:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706578607; cv=pass; d=google.com; s=arc-20160816; b=XYZcjyI+GQR9nJvxYp3RAfCPS/ksSpGX0ee2xE64pGiLRrYJMRHmP6sQXNYNhkkIGx Wf0xEnZoD9aV9ZHprDhD/+8PY5rdt0HeQBIbJhfF+wM8dcP8KgX9JdPIWFL7yxIV8Ci7 UBidwgvuldzlNUPBauZk/HgVFBjeM8hWc+d5kgn3QV2AzeO7lzNoUe5IjdqYm/AdG+NN RK8Xcnkcj1UOZMEOQuLly06Zc4hoa0Gu9EgobsJ/r3fwYQ0SCQDZ3/zp+FnGmGiTNdp9 vOdyPpR2KXB/LI1cQHVsSNKy8x6CB/ghxkOe9ZaM0H+fCubYECjbeis16KTEQe4+DfxE MUrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=1eHkNz4ecpOcbknZID2dMz35KiFLEgs/NCQufuit5Tw=; fh=08o1Z3dkT4PTus3+ZB3Ee4Ie90PM5CRChgz8UfM5khQ=; b=V9tWeF4AOA/nPAjq/QYdl0oAzMo0nfCYMGo+PpFIi6MOV1OvGei0j7TB3rFvy9P2Xl wJWVWRJyIBqLYLe3SHQfsv69GGsIIv6Pq2TdxvA2qu06MFWsdug4LhKyY91wMT+yc0V5 RmHTMcWerjTnXvgTQPNAj32W7jOlRVvPDN7WAG1o25zKhEXfli7HF84OsA4gvW8NTXCz Bagw3sJsqBCuA3ofVTEZGmIcPkM4aF2FlBf/q2KVE3V76bGaWkRechFuGqsd40NHkBiw zcOq7I7ImqV4P80FTKAdEMCtEr4WpQ2+KrQQ2oIDqQxQdP0K8f+QWnla2oYjlIqiw4TJ IrsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IJQr6Eul; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dt20-20020a05620a479400b00783e4bf2c7fsi6545612qkb.256.2024.01.29.17.36.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 17:36:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IJQr6Eul; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43720-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CE0B51C223BF for <ouuuleilei@gmail.com>; Tue, 30 Jan 2024 01:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C411237165; Tue, 30 Jan 2024 01:36:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IJQr6Eul" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EFEB2CCD5; Tue, 30 Jan 2024 01:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578558; cv=none; b=bFoZLFEUYjxSSu/7griMMm6M6AufUWr8l67Y7qgTfWHdyiEBjqAyQKr2Ik5O0ADf8Jrp4iC+Caxyvb0MnTU2CnZ3QqfGQUpDmTiHnf3wwQ5NrP0MJeZ40hd4hQWYIldshUGsioA3Q2bBFZ3V8pDk3tWjjBcEBdH67S0Vt3XGh2E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706578558; c=relaxed/simple; bh=Vvkeu61i6vdOz/6no5T26QV127L9fGOYLD6tF9jpGww=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Ytw9+Gsw6k5Z4Hmf9HmOFpgRnyp8+bY6fxKd6L4mQ2NUMFz6PK0NN48g2LHf5sep7KLYBrXxV/9gtTaZnDRbahfzLnXOadK+Mcxbtc7UN2ilb+RNY87ranMUAp+MoLwgr0En3mODdLMEcKmBH5Er1kGRQGrrtW09HS6xWX16upg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IJQr6Eul; arc=none smtp.client-ip=10.30.226.201 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 <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, Jonathan Corbet <corbet@lwn.net>, Shuah Khan <shuah@kernel.org>, Alex Shi <alexs@kernel.org>, Hu Haowen <2023002089@link.tyut.edu.cn>, Yanteng Si <siyanteng@loongson.cn>, 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789477369077908497 X-GMAIL-MSGID: 1789477369077908497 |
Series |
mm/damon: make DAMON debugfs interface deprecation unignorable
|
|
Message
SeongJae Park
Jan. 30, 2024, 1:35 a.m. UTC
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