From mboxrd@z Thu Jan 1 00:00:00 1970 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 1D066C433EF for ; Mon, 2 May 2022 16:18:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8B94E6B0071; Mon, 2 May 2022 12:18:16 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 867736B0073; Mon, 2 May 2022 12:18:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7559B6B0074; Mon, 2 May 2022 12:18:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id 626A86B0071 for ; Mon, 2 May 2022 12:18:16 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 1FB602A0D4 for ; Mon, 2 May 2022 16:18:16 +0000 (UTC) X-FDA: 79421310192.02.B98D524 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf10.hostedemail.com (Postfix) with ESMTP id 754C2C0076 for ; Mon, 2 May 2022 16:18:01 +0000 (UTC) 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 8CF09612CD; Mon, 2 May 2022 16:18:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65977C385A4; Mon, 2 May 2022 16:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651508294; bh=M6o+XxaxmZ2PAVL435U0BCsvOvNrKswGfCIA9dmiNo8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W7vn5MSZNXpDr3O2iJhQUUj/gESuFXrOrdS0BNi1WkLYksKH+TvxNX+7Av0qnsjgn JgrQrFQY032Tcm09Eb+L+/4r1NAP9BtNYIgBJWjcKtOG2qqYeVpsEiatJsfqEfDGg/ Lks+1xoHZ7cifriyBOIg36JtCqdcAiporuo+Mnnl/+0s7VvpLFOVzHbdIfYp/XHi1O Jj1DFF0ybIZhxxwXA9yYJRCsptVZW2aMeZtzB8FSMd7lEmFJOQt8hQ9bwaVffPBRc8 xmJC86N28swQ6ABtsEBDOn9iL9Z80D0PSR+j845VLogYADuVMb/n1BZAOrCxm3zgRY MpUCZzYXj7S4Q== From: SeongJae Park To: Rongwei Wang Cc: sj@kernel.org, akpm@linux-foundation.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] mm/damon/sysfs: support fixed virtual address ranges monitoring Date: Mon, 2 May 2022 16:18:10 +0000 Message-Id: <20220502161810.134199-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <80586516-d783-8f81-f6d7-338d9af7a3e6@linux.alibaba.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 754C2C0076 X-Stat-Signature: bbjo5xaahcnwchrtkf519sxpauaopwxf Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=W7vn5MSZ; spf=pass (imf10.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1651508281-98167 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: Hi Rongwei, On Mon, 2 May 2022 15:56:58 +0800 Rongwei Wang wrote: > Hi, SeongJae > > I had read and tested your patchset these days. It works. Thank you for the tests! :D > It seems that these patches only fix the issue about init_regions in > DAMON-sysfs, but not fix in DAMON-dbgfs? maybe I missing something. > > If so, do you have any plan to fix this bug in dbgfs? Actually, what I > want to say is that I ready a patch for solving the init_regions related > bug in dbgfs these days. I not sure if you're interested in it. The plan is to freeze DAMON debugfs interface after DAMON sysfs interface is merged, and then entirely remove it after next LTS kernel. It was mentioned in the sysfs interface patchset as below: https://lore.kernel.org/linux-mm/20220228081314.5770-1-sj@kernel.org/ Future Plan of DAMON_DBGFS Deprecation ====================================== Once this patchset is merged, DAMON_DBGFS development will be frozen. That is, we will maintain it to work as is now so that no users will be break. But, it will not be extended to provide any new feature of DAMON. The support will be continued only until next LTS release. After that, we will drop DAMON_DBGFS. The plan was also shared in the kernel doc as below[1], but maybe it was too small to read, or ambiguous. Sorry if it was the case. debugfs interface. This is almost identical to sysfs interface. This will be _removed_ after next LTS kernel is released, so users should move to the sysfs interface. [1] https://docs.kernel.org/admin-guide/mm/damon/usage.html#debugfs-interface So, I don't have a big interest at extending DAMON debugfs for fvaddr. That said, of course we could discuss more if you really need it. If so, please let me know. Thanks, SJ > > Best Regards, > Rongwei >