Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp266256ybl; Tue, 28 Jan 2020 02:51:48 -0800 (PST) X-Google-Smtp-Source: APXvYqwmnzhDzdFpsqxVjbMaj61PJudMq6aY+LvEIcuEwB/IMSZGrnfqntUk6E/UoaTTcWgEuOHS X-Received: by 2002:aca:48cf:: with SMTP id v198mr2395478oia.35.1580208708231; Tue, 28 Jan 2020 02:51:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580208708; cv=none; d=google.com; s=arc-20160816; b=qjg8RIBi+Z02Pcka9WKUIi0W9fLArjb8Eb0kMW4NwXWS02+1/W4u3REE2Rf917baAS Y6P3kmL9pvl0honrZ1U8Hlb9s9eTI8rvELwhLlsqymas9Av3sNhgCCkPCPG6INOI8fuD maFsJZEVx4NinREnyZNSqFh8HK0zJdUBh5BD5uzNj9Ch9Jt6Tr2C1T/cfwF6W4WPqrD3 Z8dfsyL1NEJud61bzYzCrO9oNBGWExtZJLxk9DF/EkPbUArB67/Diar4Nu8O97OzcOrb PQcAGcIRghyWQS/tVcOod2BTtRH8AhCzxKudQwr1sqNPa/cjPYmgyMuTjdvYJ0N9dYTx Uobw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:dkim-signature; bh=WYtCBgBVN8ObAntGrLP9PSwj39O1B410LMI+5OpI30E=; b=qHb2rgzbhC6Y5B9Ie83TmD6bqcrIamMIo36/wz+z2ZE6WFUnO8jwSeNFGjkL5pf7TK KnFi6bHT65PNxE3c6tDerWAH25wprNw7i51jn7pfGXjTpd8yGs530AXKNVCfNstIB1mL 4I7Y54fv6jCn8zh+4+jQBnh3B3hQavP2tA51t4apudHZ41UoHAZTtGSqBiMffoXXwdNo BxAd4g30WQrPnQJY6RByFx2W07Ywm5sI6lH+5TpqpBU1l50PVRd5Z8iRw8REQcV8Pcv9 6vtH+xFkTq1ShiCkfGUEg1bKTYDG0+Xcik6sJCKp++OZgTXTC67hbnT6Eh9fnrTCJAOc jbSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nTDNH8XY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si8904160otc.105.2020.01.28.02.51.36; Tue, 28 Jan 2020 02:51:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nTDNH8XY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgA1KuK (ORCPT + 99 others); Tue, 28 Jan 2020 05:50:10 -0500 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:37368 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgA1KuK (ORCPT ); Tue, 28 Jan 2020 05:50:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1580208609; x=1611744609; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=WYtCBgBVN8ObAntGrLP9PSwj39O1B410LMI+5OpI30E=; b=nTDNH8XYvUKl0hzaXfJUaJG7iblk5gCxNUulLYXN2goLXts0pgEpZlFz xpoUdDptLQ6d3NdcRvX66fHJIDz470gq997a2s8jwnNETxOzqU3uSlONQ +jOl2EQSJEuBKOGD4nfrGlbUeKCgZS6h0HW1w5j8MrhzVABWQLP4TQ29u A=; IronPort-SDR: 0Hsb+qv42wSiM41C93C4a1LfhcjySaLvJzM+hKrBuLySIDMN7FQIj68NhS/Pw2n8brqfJ6m+/6 U5kUDS2M0P6g== X-IronPort-AV: E=Sophos;i="5.70,373,1574121600"; d="scan'208";a="14547675" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 28 Jan 2020 10:50:06 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2b-5bdc5131.us-west-2.amazon.com (Postfix) with ESMTPS id 3B6FFA24EE; Tue, 28 Jan 2020 10:50:05 +0000 (UTC) Received: from EX13D31EUA001.ant.amazon.com (10.43.165.15) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Tue, 28 Jan 2020 10:50:04 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.74) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 28 Jan 2020 10:49:56 +0000 From: To: Qian Cai CC: , , SeongJae Park , , , , , , , , , , , , , , , , , Subject: Re: Re: [PATCH v2 0/9] Introduce Data Access MONitor (DAMON) Date: Tue, 28 Jan 2020 11:49:42 +0100 Message-ID: <20200128104942.11419-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.74] X-ClientProxiedBy: EX13D39UWA001.ant.amazon.com (10.43.160.54) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Jan 2020 05:20:35 -0500 Qian Cai wrote: > > > > On Jan 28, 2020, at 3:58 AM, sjpark@amazon.com wrote: > > > > This patchset introduces a new kernel module for practical monitoring of data > > accesses, namely DAMON. > > > > The patches are organized in the following sequence. The first four patches > > implements the core logic of DAMON one by one. After that, the fifth patch > > implements DAMON's debugfs interface for users. To provide a minimal reference > > to the low level interface and for more convenient use/tests of the DAMON, the > > sixth patch implements an user space tool. The seventh patch adds a document > > for administrators of DAMON, and the eightth patch provides DAMON's kunit > > tests. Finally, the ninth patch implements a tracepoint for DAMON. As the > > tracepoint prints every monitoring results, it will be easily integrated with > > other tracers supporting tracepoints including perf. > > I am a bit surprised that this patchset did not include perf maintainers which makes me wonder if there is any attempt to discuss first if we actually need a whole new subsystem for it or a existing tool can be enhanced. For the comments from perf maintainers, I added Steven Rostedt and Arnaldo Carvalho de Melo first, but I might missed someone. If you recommend some more people, I will add them to recipients. I made DAMON as a new subsystem because I think no existing subsystem fits well to be a base of DAMON, due to DAMON's unique goals and mechanisms described below in the original cover letter. The existing subsystem that most similar to DAMON might be 'mm/page_idle.c'. However, there are many conceptual differences with DAMON. One biggest difference I think is the target. 'page_idle' deals with physical page frames while DAMON deals with virtual address of specific processes. Nevertheless, if you have some different opinion, please let me know. Thanks, SeongJae Park