Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp201196iob; Mon, 2 May 2022 17:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYpSXrlrSSZ3MC5ypdmQiZnbW5IFpcVZw3Vp2eaQoMu7VCXAB5JIyYM8e2HbvwpuU8GfBC X-Received: by 2002:a17:90b:4f4e:b0:1da:3d4b:2923 with SMTP id pj14-20020a17090b4f4e00b001da3d4b2923mr1841089pjb.86.1651536238359; Mon, 02 May 2022 17:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651536238; cv=none; d=google.com; s=arc-20160816; b=0bz3VvgU2apOOzlaKZHwq4WyFYhdkrvobW19kUZHloygLkCmzVG1kFXNKXuw8jlgEI pAYCBEk6oNra32Q29GSFPNCWdOgm1xG4htjb/W5/9CW93U/b6ovWtIGnV2JPpjiHVqTe +X28mHIUA8iHyoRR+xCirP4F50rDEzZNRIFLVhi1CvLg61CeC+sbUDWa4CcfxCK2Ro6W NLK2PPkmJgn8+ehBhhj9bMkCBgzfkPNWtsjz55F+SEAuAuoizeBaDwSDQHUnw6749z54 /CbGqekqjamGdq1Ug4Cdh7Mnl8bgBoRtVpkwkfTYdx/pqPPksoGHwgPbYUjslChMx3x9 3Pfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=26tInkQAZCBE55uhZVqQeowtRz3mmBt7gwPYzqbCc0A=; b=yQJMpT9ilnSeeJg1lDFw14cUd5Ynf0xRIgacYGl+eLsoc1SK+2571OlWe9zjN7073O 49QvUZk/ETB0YfqvMp4vfPqudCHj+qeHcU4H12lEq3aD6XPPOCeNPOfMcKExqX19F7AT X/FpYBwKTgHdTYvHsY5mY8zZH6EjMMV3ChpBefD8LFxQ5VQHtZBN+EHt1Lv1V/CCR+gM puQ4gIhQbZxGx2VKa/qS13COx7D26DANaXcAYOaV5C1atb85wshyVbewSZSnCSJ1axM/ kK92sSbg3pmImPlkArlXfMjDU8ifofUniXsdcxQpGcu2l4Fz4D5vzzgD+4USvZk1UFif DUYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W7vn5MSZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d16-20020a170903231000b00153be6474c2si9273899plh.531.2022.05.02.17.03.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:03:58 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W7vn5MSZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7074E34650; Mon, 2 May 2022 17:03:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386280AbiEBQVp (ORCPT + 99 others); Mon, 2 May 2022 12:21:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355099AbiEBQVn (ORCPT ); Mon, 2 May 2022 12:21:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F14ADE0A7 for ; Mon, 2 May 2022 09:18:14 -0700 (PDT) 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 95CB6612CE for ; 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-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 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 >