Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp105219pxt; Thu, 5 Aug 2021 19:36:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwFmg1dh5Igu/WBX4k696BZx45A0XKhcmQJsTeBFOFzRzGrUNBzs6mPEHEp7vmr6qaAL7d X-Received: by 2002:a05:6402:291d:: with SMTP id ee29mr10410948edb.289.1628217410258; Thu, 05 Aug 2021 19:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628217410; cv=none; d=google.com; s=arc-20160816; b=Y9604Y7pK9+lDzE30UOSZSdFtSTUncpgZY1yMu/YwRyCnygEsm1jFdYXfM9j4dDxEM ACjiPPHUNPDqkD1Wn0bXY651GVUGUPP/NAj0FmJevffEhIRSFNlb8zcyXNpLIplq+fWy Lo6/3cBEJSOj9tHi9SMBww9Qdl8e+HuudLiHWM5nBn5XdttZCO1WQwHQ8HIwgrG8o9w/ CEnlveQZVV6Nis/b7jP1uuqDAfR+sqcCcXwKihXuKO8tyz3J9G/ui2G6FZ3dHU8yzmVc 367cAYrVguzLTapyQ1y9gZVIrGyr6Af/PU2T62WeJw/Z7O2xxSUb+y39FM+yrtvCOaIX 0mAw== 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:subject:cc:to:from:date :dkim-signature; bh=77m6fuzu2iGeh75k13QTbG/+zhqfGA+qBjSrJPc+ljs=; b=LLS43EvU0D2IFNG06vqzG3WLyiYBl5jtE8HcEGKnzwxv3XtN8Zki9diMaLoBaDjNUn oZlWZIkBI3d8kr93A9Q7OEnXmsWEbWVnYtxBpa0gDuJ5DmsMRf24RD9s7hHtaZg0F9xa Sz8g5FcOSXD75RAtnOCPPpWQ0dCIZBDOEnlIB8mT++ApFS9YnY1AY6p/b9cA3c0UCB49 qnYea7agErvImork64+sl2s23ofmRKeUySXhRIxp5RtBmwM4fW4ZMYMQvIqv53XszMvS xA1fOlDMUYHNucADrh51mTOtZv1+sBsSVoaPcBUWx2+x80JD+Yd4clPINzdn7R5fKsSt VQGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=icNnBXX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si7948818edy.30.2021.08.05.19.36.26; Thu, 05 Aug 2021 19:36:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=icNnBXX9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242669AbhHFAED (ORCPT + 99 others); Thu, 5 Aug 2021 20:04:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:39352 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbhHFAEC (ORCPT ); Thu, 5 Aug 2021 20:04:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DC15961052; Fri, 6 Aug 2021 00:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1628208226; bh=lsSE5tvNy4aTRnsD3X6OAqGqP19GDoBFiD74B70HHOg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=icNnBXX9cAIcggbi0r8XlsID4alGDeS2iayE2iY1MEDKvsFRcljBs7OvgqgVv1qzS z596vKzjH7NdXyUBDtLLf/UOqQe8HwvguO+QqNZxDB53NSOsdGkGe01szexeEfTrvg 3nAsGvQtxKX/AIdKme4MiqzVNi4jamwYUTep2kEg= Date: Thu, 5 Aug 2021 17:03:44 -0700 From: Andrew Morton To: SeongJae Park Cc: Shakeel Butt , SeongJae Park , Jonathan.Cameron@huawei.com, amit@kernel.org, Jonathan Corbet , David Hildenbrand , dwmw@amazon.com, foersleo@amazon.de, Greg Thelen , jgowans@amazon.com, mheyne@amazon.de, David Rientjes , sieberf@amazon.com, Vlastimil Babka , linux-damon@amazon.com, Linux MM , linux-doc@vger.kernel.org, LKML , Wei Xu , Paul Turner , Yu Zhao , Dave Hansen Subject: Re: [PATCH v34 00/13] Introduce Data Access MONitor (DAMON) Message-Id: <20210805170344.afbf5f1ceb00eb212082ca7b@linux-foundation.org> In-Reply-To: <20210728083643.5873-1-sjpark@amazon.de> References: <20210728083643.5873-1-sjpark@amazon.de> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Jul 2021 08:36:43 +0000 SeongJae Park wrote: > > DAMON does not expose stable APIs at the moment, so these can > > be changed later if needed. I think it is ok to merge DAMON for some > > exposure. However I do want to make this clear that the solution space > > is not complete. The solution of system level monitoring is still > > needed which can be a future extension to DAMON or more generalized > > Multigen LRU. > > Agreed. We have lots more works to do. Some of those are already posted as > RFC patchsets[1,2,3,4]. I promise I will happily do the works. But, how dare > could only I get all the fun? I'd like to do that together with others in this > great community. One major purpose of this patchset is thus providing a > flexible framework for such collaboration. The virtual address space > monitoring, which this patchset provides in addition to the framework, is also > for real-world usages, though. > > Now all the patches have at least one 'Reviewed-by:' or 'Acked-by:' tags. We > didn't find serious problems since v26[5], which was posted about four months > ago. so I'm thinking this patchset has passed the minimum qualification. If > you think there are more things to be done before this patchset is merged in > the -mm tree or mainline, please let me know. If not, Andrew, I'd like you to > consider merging this patchset into '-mm' tree. Shall take a look. With some trepidation. 1-2 years from now someone will pop up with a massive patchset implementing some monitoring scheme and we'll say "why didn't you use DAMON" and they'll say "it's unsuitable for ". I would like to see more thought/design go into how DAMON could be modified to address Shakeel's other three requirements. At least to the point where we can confidently say "yes, we will be able to do this". Are you able to drive this discussion along please?