From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0888C3F68F for ; Mon, 20 Jan 2020 18:14:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9784D2253D for ; Mon, 20 Jan 2020 18:14:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="diyU7YTU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9784D2253D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id F15E26B069A; Mon, 20 Jan 2020 13:14:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id EC70D6B069B; Mon, 20 Jan 2020 13:14:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DB4606B069C; Mon, 20 Jan 2020 13:14:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0248.hostedemail.com [216.40.44.248]) by kanga.kvack.org (Postfix) with ESMTP id C1DD56B069A for ; Mon, 20 Jan 2020 13:14:52 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 7E263181AEF09 for ; Mon, 20 Jan 2020 18:14:52 +0000 (UTC) X-FDA: 76398813624.24.hope64_d6501391fd2a X-HE-Tag: hope64_d6501391fd2a X-Filterd-Recvd-Size: 4265 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Mon, 20 Jan 2020 18:14:51 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id c9so442186wrw.8 for ; Mon, 20 Jan 2020 10:14:51 -0800 (PST) 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=pASj3PHz7/BmhyyPZk63EWRxJck53vekxxxhyP+qu28=; b=diyU7YTUUl14k4utEaRKx3JvG1pR3pE4U0+CX9/4He9byqa5qUL+aEJV5fD2CE8y3R nNjLWEUGgaa29WzFcAbk/sMRzl86c+xYJOk59m6pBUE75tGUO5iND1R+Ff05MwXZ5hmL KnbAwJ1bL2w9zxa8hNiU/Svw8I3a3DCKgjTTQNOmt5acuI6+gGS/8EBFEeQfLnzceGvQ B80gOcf4rczJJiutM5cdhZ0KtE1cxfoNBowqQy+2Q1TclujmU4VYiefdVOL5YdLQ93X+ CmfBQIlyTFPbMlnNJtJ+ZSOx7qiCUW6neqtmDmqyujNJhX3Ls6dP+z4O5ZAdWesHGBx7 2uqw== 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=pASj3PHz7/BmhyyPZk63EWRxJck53vekxxxhyP+qu28=; b=itmpzhFOyB0HoMCs+o5wC9BoxhQpGftOhwSzvfUXvKDvXd82V9k8WLrJWyLjBJO5m7 wU7Jy7gYrhZe3IlpoIMZKfuwTbOgHQPviaxxMgjalNj74givHsE5Xh125Mb0RUHgLxcH /78R6GB5Iw7lftvt+wWUecQvvXnZBwcy84XWteRXF0KP32YWidVciaG9GTqmx8diKVoM yCZmmSPfdzwdrVJIo5lLY8sB5hKRa9QxM8UKthtxId4MmDg18PmdDEkw0eM2snldjnk7 7CMjl50g1klVWchWiA8cfaQYQ8bysSrF6pHa/Vhu0W3Y6OYiMy9v2bCRBEKWWpf8csMR hy7Q== X-Gm-Message-State: APjAAAWY9V9VnDYtOxmAAhif3vz2Ubim9COoro+KjjFSk2cHTgVOJZFS F9PJeIjJa+SgO9hsQUmbCLg= X-Google-Smtp-Source: APXvYqxEY2tx0CadRCPP17+yiUQwhYPkpud6UyNjhfjqJyCHb075vcZRf7OytV34VyJ1xdnLa2zAag== X-Received: by 2002:adf:dd46:: with SMTP id u6mr733279wrm.13.1579544090544; Mon, 20 Jan 2020 10:14:50 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:10d2:194d:ec67:901a:8ee9:665d]) by smtp.gmail.com with ESMTPSA id d14sm51909528wru.9.2020.01.20.10.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 10:14:49 -0800 (PST) From: SeongJae Park To: "Kirill A. Shutemov" Cc: SeongJae Park , akpm@linux-foundation.org, SeongJae Park , acme@kernel.org, brendan.d.gregg@gmail.com, corbet@lwn.net, mgorman@suse.de, dwmw@amazon.com, amit@kernel.org, rostedt@goodmis.org, sj38.park@gmail.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Re: [PATCH 0/8] Introduce Data Access MONitor (DAMON) Date: Mon, 20 Jan 2020 19:14:40 +0100 Message-Id: <20200120181440.7826-1-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200120165551.codmosqc2pkcunpa@box> (raw) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 20 Jan 2020 19:55:51 +0300 "Kirill A. Shutemov" wrote: > On Mon, Jan 20, 2020 at 05:27:49PM +0100, SeongJae Park wrote: > > This patchset introduces a new kernel module for practical monitoring of > > data accesses, namely DAMON. > > Looks like it's not integrated with perf at all right? Why? > Correlating measurements from different domains would help to see the > bigger picture. Right, it's not integrated with perf. DAMON provides only its debugfs interface. Also I agree that correlating measurments will be helpful. I do not integrate DAMON with perf with this patchset for following reasons. First of all, I think I have no deep understanding of perf, yet. Partly for the reason, I couldn't figure out the best way to integrate DAMON with perf. Especially, I couldn't straightforwardly classify DAMON providing information into one of the categories of the perf events I know. Therefore, rather than integrating DAMON with perf in my arguable way and increasing the complexity of the code, I decided to keep the interface as simple and flexible as it can be for the first stage. That said, I believe it would be not too hard to integrate DAMON with perf in a future. Thanks, SeongJae Park > > -- > Kirill A. Shutemov > >