Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp271608iob; Mon, 2 May 2022 19:20:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrAtAWQ83o217Dqb6/4/UI3LZ+vneJYwWRISxV7OrDq9D2dm8SIeTxDscyQbiBjG8Nxs54 X-Received: by 2002:a05:6a00:c89:b0:50e:1295:701e with SMTP id a9-20020a056a000c8900b0050e1295701emr164420pfv.42.1651544437428; Mon, 02 May 2022 19:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651544437; cv=none; d=google.com; s=arc-20160816; b=TRBrNxc/YKk3Tjk49T21CRtCWp5oCuLNguTIi2jnEerda9xSAuve37RZsynxCGgY/i yauJqtaLPzzt59vejm820M64fLRBklQw1hQVRA+qUTKuhkVtGjSz1pCXNdB/qIN5u8WY Mp4uyh3jyOVAotdnRpKniyoJfgYZiJsyDfhWYlBjg1MStwLsgxGI02WKxy8dyKBaaazD 88YVsIMTZi3Zk1KS/bFJZEy0VDwhPrlWHS95Pi2/UbhZvKmJ2XLon+1vRezbWIF6TW1F zwN+9eUDuohr3NN4WjUMzeFMH9+oxwdiM2FN+gdEynWCXbtSonPkGD6Bm8r+3dfM5fF9 QAIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=rZez4QHpuzzO+DRpz9BgLs2ApmTJt9Q6iXje6pM0RBw=; b=F7iiXO99FwxSc2wiHnGHXr5ljYETaZ883Qmwz2vq/zCn3bTFbjSnFVJ5GpXhYV0Dsn tJ+dR2PEYS6XYBCRNEhNcVA3Zo643EGgs98u25J1+NKUJgbeyKceNusuFuf+SoCDPBnP M0lg6VymIODyG5bPhPga93UQLVV8NHs5Tf6ua5orViTVwhAvWib0+An5B8Fo1CVQjxPD SePCGFtaNPKr4xoxM164xm/7nScbef4m17NVBRd1aM/+y/GxdVcxYQ6bHftFLfIEdz0w +dYgGQwciob1N4iWl/qy1JQpK5DwZ9udBV/ALVnbnkyyuMPawmRAsK4TNUEMnRq8DUHU hpMg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l17-20020a170903245100b0015eb4152d68si1572528pls.157.2022.05.02.19.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 19:20:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8F6FB16597; Mon, 2 May 2022 19:20:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbiECCXl (ORCPT + 99 others); Mon, 2 May 2022 22:23:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbiECCXj (ORCPT ); Mon, 2 May 2022 22:23:39 -0400 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A2127CD8 for ; Mon, 2 May 2022 19:20:08 -0700 (PDT) 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-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>