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 0FB53C433F5 for ; Tue, 3 May 2022 02:20:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B5CF6B0071; Mon, 2 May 2022 22:20:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 264BB6B0073; Mon, 2 May 2022 22:20:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1539F6B0074; Mon, 2 May 2022 22:20:12 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.a.hostedemail.com [64.99.140.24]) by kanga.kvack.org (Postfix) with ESMTP id 07C786B0071 for ; Mon, 2 May 2022 22:20:12 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id C629220E2 for ; Tue, 3 May 2022 02:20:11 +0000 (UTC) X-FDA: 79422827022.19.D9BB849 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by imf25.hostedemail.com (Postfix) with ESMTP id CDCD8A007D for ; Tue, 3 May 2022 02:19:58 +0000 (UTC) X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=rongwei.wang@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VC4WVWf_1651544404; Received: from 192.168.31.179(mailfrom:rongwei.wang@linux.alibaba.com fp:SMTPD_---0VC4WVWf_1651544404) by smtp.aliyun-inc.com(127.0.0.1); Tue, 03 May 2022 10:20:06 +0800 Message-ID: Date: Tue, 3 May 2022 10:20:03 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Thunderbird/100.0 Subject: Re: [PATCH 2/3] mm/damon/sysfs: support fixed virtual address ranges monitoring Content-Language: en-US To: SeongJae Park Cc: akpm@linux-foundation.org, linux-damon@amazon.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20220502161810.134199-1-sj@kernel.org> From: Rongwei Wang In-Reply-To: <20220502161810.134199-1-sj@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Stat-Signature: 1xkzzzsmypyqp5hbtqhpz3sufpr4kd1m X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: CDCD8A007D X-Rspam-User: Authentication-Results: imf25.hostedemail.com; dkim=none; spf=pass (imf25.hostedemail.com: domain of rongwei.wang@linux.alibaba.com designates 115.124.30.45 as permitted sender) smtp.mailfrom=rongwei.wang@linux.alibaba.com; dmarc=pass (policy=none) header.from=alibaba.com X-HE-Tag: 1651544398-969860 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: On 5/3/22 12:18 AM, SeongJae Park wrote: > 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. Hi, SeongJae Thanks, for telling me the doc! It seems that I have to update my datop. New sysfs interface has changed too much. Anyway, Thanks! :) > > [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 >>