Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp589974pxt; Fri, 6 Aug 2021 09:00:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMztliDOquL/evQ4Z8WM79Ko4By88KjoFoVYb+dQo8bQCSKfDwRRCSQnyNStI0GwMKIjbi X-Received: by 2002:a05:6638:f0e:: with SMTP id h14mr9344000jas.124.1628265642267; Fri, 06 Aug 2021 09:00:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628265642; cv=none; d=google.com; s=arc-20160816; b=wNOCdYAOiCx05boOli/V1u3E7Oo9hGbM+fPDImOP3loNM4cpS1nrDBW7KK8E5G+0F9 4LVPPpmEN3HDEOXPgSuasMSmteh+MEZ9Eo8TKtSRWfgN8POCYWw39nNQVTQoStTUTM3O evjNcisSZSx9OkkwM34XZ/QBNoPRK+LGtnNqIZNHaRsRgsFjHNtUKGWVbV0gAMjDgFqQ 0Rh+8qsYNnWMei4Zm1yZO1UFZz9xXwHDazdekGC2lrjtP56XjYwfEKa8K8pQIdScY1NB ECuQxoU60a7I0T4xtMLvzhTnNCWzpxzS1ePqzCZFFZuQrxGWD+6ORq6rFisAuzuQGyUW RCDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eGSjSqZSYbLxuQd8oI0XJgV6zBB7+cKt8LohYyTcZZs=; b=E6Rdo3tjYw1LQ4Wa8gl8ffsido7C3b+7KxU19WIhkhbyCwjcWQm9YmUow/lHfvc+BK +lEJEj2M/kQ0crzBTZhFIDXdmH3jUtU4jlOoJSuMDbDUs85/T9FWeyKQFb4F7vJBu3GN Txrr5S/wgAZ/3OVPrcD0ivJM3EwDShUv2dmrG04MzefdT6zDvW+NQhF4DA43k6/5kuCZ VwVObiQpaGLuWo3TDpy0DRtxL6Jamdv3Q3zSQ9+LSvctGqoqH9fnifcJw0gN3DqGQiEK PvLHpn5AKztj3syPy2T92VLKSey9RMss6b/o1M4gc654Iyv9ogiZkzFXizwQoh0vTU9X 4Eqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BezIgjl+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si8714683ilq.32.2021.08.06.09.00.28; Fri, 06 Aug 2021 09:00:42 -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=@gmail.com header.s=20161025 header.b=BezIgjl+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245686AbhHFLs0 (ORCPT + 99 others); Fri, 6 Aug 2021 07:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245616AbhHFLsZ (ORCPT ); Fri, 6 Aug 2021 07:48:25 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D133C061798; Fri, 6 Aug 2021 04:48:08 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id k13so6211024qth.10; Fri, 06 Aug 2021 04:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to; bh=eGSjSqZSYbLxuQd8oI0XJgV6zBB7+cKt8LohYyTcZZs=; b=BezIgjl+gGQUTu7iVDcfOPvYqkFN+zCpKnY1WYtZ2qYRtRrSSFvtopgNpJSq6VvpjU DYXi60g8760AYS+P0KA+f0BEYyGvmEAiXmtncJQ7MNGiXxbif1z3dbvs6hgXGKmzvfjm AjB9TlgbN8/YUQ8pXsLB2lRPIgUG1RXA8iuMGRw2cmNOuFVqQ00A79tnU485W/C/JyuR 2PQ2EYaAXzLNenIlToEISr+UYqfg2qUghKOHn6iCbU78+95HCRvWGf6KG+mluF+N1bDc yuu7o7/9N1a5s5UXswE3FNOtyzppvVPGIDlQWUYfoBmSK3x/bGI1OaqV+vZxxUNT2P7S sXcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to; bh=eGSjSqZSYbLxuQd8oI0XJgV6zBB7+cKt8LohYyTcZZs=; b=h+Y7m+F65mx2Y+bj8VjOQC/uP/zKEU3WePQ/jBKHCUdc7gy2+bNEoNA6ilBtFYX/8P R2QWA95T8OwdVcYxwkmAaQ94nA15SFxxtrU6GVe79gj1O2MunIkIdEbRmrUhyCsYCTCC 6NZCF3k4Vx2NgbJtnCgfbtIlocnPpALbuTPwiW3kR5GsNWslc9mcUnA5YYNvNPqkNwq9 TX6HdRVDC7cFXlk0OgMvG5cTEsgzPAbZQiI8EisX3I7/f2VM2xmTlPtTsOMRVLEtyJQJ DBkzV7Z2nzO+HErCIcPW8YMwQ6eF6yCVseU8cpJvM6rllcB0EyudpqIW2vaHMZqp/Li0 4Cdg== X-Gm-Message-State: AOAM533ejJlq8j1yCsOkFl3+70KNzs+DeHNp3Fk3QkvP3veeKU+mOghL zDl+JFwV4poIf/iy6wsQOv8= X-Received: by 2002:ac8:6886:: with SMTP id m6mr8681334qtq.255.1628250487810; Fri, 06 Aug 2021 04:48:07 -0700 (PDT) Received: from localhost.localdomain (ec2-35-169-212-159.compute-1.amazonaws.com. [35.169.212.159]) by smtp.gmail.com with ESMTPSA id t64sm4470921qkd.71.2021.08.06.04.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 04:48:07 -0700 (PDT) From: SeongJae Park X-Google-Original-From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , 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) Date: Fri, 6 Aug 2021 11:48:01 +0000 Message-Id: <20210806114801.6958-1-sjpark@amazon.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805170344.afbf5f1ceb00eb212082ca7b@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: SeongJae Park On Thu, 5 Aug 2021 17:03:44 -0700 Andrew Morton wrote: > 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 ". Agreed. And I personally believe merging this in will help avoiding such situation, because the someone will be able to easily find the developer who is responsible to convince the person. I will happily and definitely do my best for that. > > 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? Sure. I will describe my plan for convincing Shakeel's usages in detail as a reply to this mail. Thanks, SeongJae Park