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=-4.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_DBL_ABUSE_MALW,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 E62EFC33CB2 for ; Tue, 28 Jan 2020 16:09:45 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AAF1B207FD for ; Tue, 28 Jan 2020 16:09:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="ci/4U15Y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AAF1B207FD Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3D3E16B000E; Tue, 28 Jan 2020 11:09:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3AAA76B0010; Tue, 28 Jan 2020 11:09:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 273326B0266; Tue, 28 Jan 2020 11:09:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0059.hostedemail.com [216.40.44.59]) by kanga.kvack.org (Postfix) with ESMTP id 1367F6B000E for ; Tue, 28 Jan 2020 11:09:45 -0500 (EST) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id C740F181AC9C6 for ; Tue, 28 Jan 2020 16:09:44 +0000 (UTC) X-FDA: 76427528688.13.pest94_72243f7e06e38 X-HE-Tag: pest94_72243f7e06e38 X-Filterd-Recvd-Size: 3770 Received: from smtp-fw-6002.amazon.com (smtp-fw-6002.amazon.com [52.95.49.90]) by imf07.hostedemail.com (Postfix) with ESMTP for ; Tue, 28 Jan 2020 16:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1580227784; x=1611763784; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=UKZCaC+hnyao15bB/vOGmUC59yDB6b1Xjy94Qevzl9s=; b=ci/4U15YQAQTxfUoYbPZQLcRESxcDBKqHjRTYp5u6eJ0pr5exoYx9a42 mhdkXFXDKM2nNM1mkmYjOGrpG8j6re+hFklHEJ3MsJdGGghqKO3pW8FkP zVNzxSjUWFgVfxY9LG7f8Wra/DnLbOqD//9husj5R/bRd8kl6hAmtmSuu 0=; IronPort-SDR: hNv10iBD2veD9e759UD4yjagpQPOv0m0KnF6N1HHbgtxPLEGM7nSN8xlf6fpqw7qoLwEwIvvCy lmwhefhCVHJA== X-IronPort-AV: E=Sophos;i="5.70,374,1574121600"; d="scan'208";a="13686278" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-f273de60.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 28 Jan 2020 16:09:43 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-f273de60.us-east-1.amazon.com (Postfix) with ESMTPS id D7E57A21D1; Tue, 28 Jan 2020 16:09:37 +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 16:09:37 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.162.133) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 28 Jan 2020 16:09:28 +0000 From: To: Randy Dunlap CC: , , SeongJae Park , , , , , , , , , , , , , , , , , Subject: Re: Re: [PATCH v2 1/9] mm: Introduce Data Access MONitor (DAMON) Date: Tue, 28 Jan 2020 17:09:15 +0100 Message-ID: <20200128160915.25653-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <95f6d1e3-7052-252e-1c29-f320e84df302@infradead.org> (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.133] X-ClientProxiedBy: EX13D29UWA003.ant.amazon.com (10.43.160.253) To EX13D31EUA001.ant.amazon.com (10.43.165.15) 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 Tue, 28 Jan 2020 08:06:38 -0800 Randy Dunlap wrote: > On 1/28/20 12:57 AM, sjpark@amazon.com wrote: > > diff --git a/mm/Kconfig b/mm/Kconfig > > index ab80933be65f..144fb916aa8b 100644 > > --- a/mm/Kconfig > > +++ b/mm/Kconfig > > @@ -739,4 +739,16 @@ config ARCH_HAS_HUGEPD > > config MAPPING_DIRTY_HELPERS > > bool > > > > +config DAMON > > + tristate "Data Access Monitor" > > + depends on MMU > > + default y > > Might be lightweight but still should not default to 'y'. Good point, will default to 'n' in next spin. Thanks, SeongJae Park > > > + help > > + Provides data access monitoring. > > + > > + DAMON is a kernel module that allows users to monitor the actual > > + memory access pattern of specific user-space processes. It aims to > > + be 1) accurate enough to be useful for performance-centric domains, > > + and 2) sufficiently light-weight so that it can be applied online. > > + > > endmenu > > thanks. > -- > ~Randy >