From patchwork Tue Jan 30 01:35:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 13536659 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 B1157C47DB3 for ; Tue, 30 Jan 2024 01:36:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 169B66B009B; Mon, 29 Jan 2024 20:36:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1191B6B009C; Mon, 29 Jan 2024 20:36:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DA8DB6B009D; Mon, 29 Jan 2024 20:36:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id BEF556B009B for ; Mon, 29 Jan 2024 20:36:02 -0500 (EST) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 9C17AA010E for ; Tue, 30 Jan 2024 01:36:02 +0000 (UTC) X-FDA: 81734261364.19.A5BC1B4 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf27.hostedemail.com (Postfix) with ESMTP id EF5BA40011 for ; Tue, 30 Jan 2024 01:36:00 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jn2kAJ64; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf27.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=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:in-reply-to:references:references:dkim-signature; bh=TiqnJbNWgCiHv+i0MWoxbS4Se8F+bil1/y+IujP2iuE=; b=QNY4yO6X22tyTyWtGcYEsoxQj69QKn2dbO7Byl12LRVGHO1Zl4cHAex425H3vJp7nCjwrW Cn+oVz+CR9bQMmO5c530nBdPgK0NmA7desVyxA13vQ1v+GYV9lq5+xIidcTMyf14XyBZz+ 2M16hulhfOJJZaWxIvG6PNW0c/IQG04= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=jn2kAJ64; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf27.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=1706578561; a=rsa-sha256; cv=none; b=rJiZ+/aYo94FuppR2XsP111NRKhuoBdXkrSwwqgYZt1uoOFtK9A37bR7x913C15DB5eavJ iLLizU4M0QRqAnCxo0QFJUf5TUv8UTvDzA0AKmtObkwIIt1dTiDO5znQwywzcINBEUfC+Z XjKYKjoUCguBzRX4H94OgoJlOVWsLLs= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4A710625F4; Tue, 30 Jan 2024 01:36:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95812C433F1; Tue, 30 Jan 2024 01:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706578560; bh=QwFDGVTfCJQhExDgwMfhXxVfZDEJjE7tnYoyx4MeyPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jn2kAJ64jX3y9uusBNQba+8eCKSt8+re6HtxCuT5lrz8GaEdHb/UDdbWUpFsPzV/H qz9NZmQUntd0hZVO21XYjgv5CulXkKXa1O3jOq+SOTjHYkQPGs5Z7gf2GqIKPD+yKl iOD7bi+o09rntjgPn52bdOchOVvTPPkZReLtosLJjkRWtCucPbKLvg722vug2eMmzf l2sU6+rEU+zLPTVEp/xH672L+9wm4bi9gJTkNDgun/kFVGHKk7BgFj66SwQAO2DrT1 Oy9yNc01U5/dhyvG4zc1Imxbsn34vWm0UxdP8/0c60W1c2B9PYIfyCs5JFE7YVsAHp gv8DmsSs+ANKQ== 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 5/9] Docs/admin-guide/mm/damon/usage: document 'DEPRECATED' file of DAMON debugfs interface Date: Mon, 29 Jan 2024 17:35:44 -0800 Message-Id: <20240130013549.89538-6-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240130013549.89538-1-sj@kernel.org> References: <20240130013549.89538-1-sj@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: EF5BA40011 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: 7cz6664rubhw18864p3j897juxtywpnk X-HE-Tag: 1706578560-456923 X-HE-Meta: U2FsdGVkX1/CqIRzS71L89YCqzvUXGSVIUEYtCno980gMmjdFvXKVIpURBmU8kr4o3hLuq4FwCKHCnPbGvq+J8atsJ+8H6qAAeO30riGFWSyP1CmfDQCrm+8KqbAY47OzDtLdg7Xyf7EY/dh/ZHnRkNUYADDr1p2p0USwOwzXiIWKG0macOs05uHwICB2a5WMMRztjhN04Dhc+q6rLkPiLnfKIh/4AekVlzRmAIVhK8IqrBBJucIdYNGF4XFmB+gDkav/BWbfHwub59gm1G4/LlPqHR05wJbgM6pQregJGB4CoSVwHMQf6I6j0vu8/z0xkS91mqwKRm1VFtVS76QrKZ6tAnGYYbF5fdMiZMI2EtXNLTnTmW7S62ql8oVGWLf47quMuVaOaj/kPDPjGdCRU7jsWo5ah/nP1RgAoJaqc5vqsYJPGURM4AeajlOvBVg4NeMIvh1lnyMZC15eEnCJShYrI4TH02PFC4R809Wfz8HsS4VMgynHDo/Nfy3TS49mjJjddx7gX3RUcfHecGnnOToXgLlmJP8yd0b6lfpClHbFzTm5OsUuhi4YivGJPccsU1oKaLxhshrbUs7aTT8VG4XQ3DffcUyXtF24yodaVA30UJ6Gl8JMFhz7AmZA05+jkTW8EQq7UHO1j0Un3bmW2bzqwVYMtARH+vHwRD8ADW4hwBGlZ9i/8X3JsiguqDGAKWMuEBNJ5XCuTrcmj6WMYwhrN9lZR+puc07NYVtzBDMBbGrs0L/6ZQgHxvu77JUqV6Y7eOPnqZ+XTotQZe/og/7555uTAXSVAokZCkOIjkHOHchpJ/Uh9WHwfu2fAUWWiFRmtVBc32aofDZj0a9Y3S6ukUYBt6EhN7ZeQyJdkgj2dSJ/Xa3ucQCeHyLZnNp+Kbr4eCR3kW+WNwI2Gah9o5zeKLvd8zD0QmY6J/5rkvCcO7Ksoy173HJlvBPmSlEtpxYDVgbSyfqO0RIwJb nvFUuNH/ DJOq+0q3iNbZDuLKzdQ27CaP2gzFd3e9Eo+1ef52L0ARP2Fis2FPGHDH0pCPrl4fKvQXPZIQnqyQzF0qbTAgZ20YQwXnu5R3aPh8vkNgV7VBunrO331IOCNSgLvYoMdQJ/GQy50SYF8/JjbhnbZ5kovAr1MhozFOgV2fuJTQUIQpUaA4Pe6t3K4aETK01Py7UZda55qW+bpP5iT4OvAP6DhSEjQRgUgqg6arxbvKmzCTIeqvljq4t0EAm5JvsD09YxRHwBwLAlKtTCW5nRPvvy4mX+aFUkLMbgu1CQ78heMACPTY= 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: Document the newly added DAMON debugfs interface deprecation notice file on the usage document. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/usage.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index f2feabb4bd35..5d3df18dfb9f 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -628,9 +628,16 @@ debugfs Interface (DEPRECATED!) move, please report your usecase to damon@lists.linux.dev and linux-mm@kvack.org. -DAMON exports eight files, ``attrs``, ``target_ids``, ``init_regions``, -``schemes``, ``monitor_on``, ``kdamond_pid``, ``mk_contexts`` and -``rm_contexts`` under its debugfs directory, ``/damon/``. +DAMON exports nine files, ``DEPRECATED``, ``attrs``, ``target_ids``, +``init_regions``, ``schemes``, ``monitor_on``, ``kdamond_pid``, ``mk_contexts`` +and ``rm_contexts`` under its debugfs directory, ``/damon/``. + + +``DEPRECATED`` is a read-only file for the DAMON debugfs interface deprecation +notice. Reading it returns the deprecation notice, as below:: + + # cat DEPRECATED + DAMON debugfs interface is deprecated, so users should move to DAMON_SYSFS. If you cannot, please report your usecase to damon@lists.linux.dev and linux-mm@kvack.org. Attributes