Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp818683ybm; Wed, 27 May 2020 08:44:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdSLsBv8u7ykzG6DTchyvobCe0pNpFXrsbLWOEh0MVgvH8OGJCEzJdUg1Eoowu9d0xAZje X-Received: by 2002:a17:906:814b:: with SMTP id z11mr6246301ejw.531.1590594299790; Wed, 27 May 2020 08:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590594299; cv=none; d=google.com; s=arc-20160816; b=f3OUYI18TOCFh9PfnyDA+4tTMaV+BW70PoiYbqjgv/iIheO1P72ePVfV1VV1eTyMRH vKcmBbTCb0b28kDxo6/OcNyy7zRWAZumOqwH5rMCq62Ruuv71aff2NLLzZcnPQ2enH6L p1+rV79SnGyroha+mUH05LqVf2YpHpSUOQeTvOmPb7kh7YrJy8iAyg3xZFbaV3yNG6BN XOyiwSacRXtu882fjeB/WkAuEcC37TgVgV1dB43J1f+N59uKkOe/bXWqGyVhzeeHdIG7 D0yznlIczCq3PZm8i+ceCAI6iPxLZsDpYIeLITTWSsOMSe1HUeW+tkhw4h47wNJnNR6/ ZRPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from:ironport-sdr:dkim-signature; bh=oEmmyMApY/gvmZsy0GxunGVqNIsnXbj/+Pp7v8b3ahM=; b=NOszRbuUdR2SDsWe0IduSY2CCzK0mH3C3a8MiCNEE7N3kkH4q3MPdfEeCxbQMb+WZO IV57Bj1hnF3muKVIylTWel1pnttI757aoRG8J3ysXlYDrWFlQdYur2+1aVo18ztgzP3K vGMPNKnhM7FsTWMJgJsGq8UG+8+6pJUdfjU/o75ygOspzi8F71dQbm/tyxxdjs5ggtxD VH7x+OaD1X4P/Y+FdSIc3jd+KyZRaxy0/6MtmS/VdG7yvCcRGvsFTphw/0y/gh53rgZ5 tNSGuLS1Ws3BpS/fE+g8is3W46+VYATSIF5o130Ed545Za7aKDNtxUGzL728Abf9n3Rd W70Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=VG8G3vBh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si2064646edn.476.2020.05.27.08.44.36; Wed, 27 May 2020 08:44:59 -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=@amazon.com header.s=amazon201209 header.b=VG8G3vBh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388452AbgE0LY3 (ORCPT + 99 others); Wed, 27 May 2020 07:24:29 -0400 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:22980 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388019AbgE0LY1 (ORCPT ); Wed, 27 May 2020 07:24:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590578667; x=1622114667; h=from:to:cc:subject:date:message-id:in-reply-to; bh=oEmmyMApY/gvmZsy0GxunGVqNIsnXbj/+Pp7v8b3ahM=; b=VG8G3vBhfgOYFlKEX3kqdmbiCD61Y4XvZ65zvOy5UoqGLgApVUDlYi8X cbKjq+Cx2gtzUFYDyOTW7mHuQbtjQbOZeuJpczOElhI3TBwBWPPlpiYSK Pd3m7S+sNXCFUFiHYB52s3bEBnTjnvsx8FR3i5TPAWF0pMNf/rO0RZ0WX o=; IronPort-SDR: ygbsXvskwqPqlsyvSCPxXo9h5KBm5Qkwio+bV7QgvrKM+dImSKxtth68XPRFY9cUk7LfL5qipB gn7cj0d8E0EA== X-IronPort-AV: E=Sophos;i="5.73,441,1583193600"; d="scan'208";a="32572282" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2c-6f38efd9.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP; 27 May 2020 11:24:12 +0000 Received: from uc85b765ebdd8595b4b67.ant.amazon.com (pdx2-ws-svc-lb17-vlan2.amazon.com [10.247.140.66]) by email-inbound-relay-2c-6f38efd9.us-west-2.amazon.com (Postfix) with ESMTPS id 34AF0A239B; Wed, 27 May 2020 11:24:08 +0000 (UTC) Received: from uc85b765ebdd8595b4b67.ant.amazon.com (localhost [127.0.0.1]) by uc85b765ebdd8595b4b67.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id 04RBO6ni027271; Wed, 27 May 2020 13:24:06 +0200 Received: (from foersleo@localhost) by uc85b765ebdd8595b4b67.ant.amazon.com (8.15.2/8.15.2/Submit) id 04RBO6ii027269; Wed, 27 May 2020 13:24:06 +0200 From: Leonard Foerster To: SeongJae Park Cc: akpm@linux-foundation.org, SeongJae Park , Jonathan.Cameron@Huawei.com, aarcange@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, amit@kernel.org, benh@kernel.crashing.org, brendan.d.gregg@gmail.com, brendanhiggins@google.com, cai@lca.pw, colin.king@canonical.com, corbet@lwn.net, dwmw@amazon.com, irogers@google.com, jolsa@redhat.com, kirill@shutemov.name, mark.rutland@arm.com, mgorman@suse.de, minchan@kernel.org, mingo@redhat.com, namhyung@kernel.org, peterz@infradead.org, rdunlap@infradead.org, riel@surriel.com, rientjes@google.com, rostedt@goodmis.org, sblbir@amazon.com, shakeelb@google.com, shuah@kernel.org, sj38.park@gmail.com, snu@amazon.de, vbabka@suse.cz, vdavydov.dev@gmail.com, yang.shi@linux.alibaba.com, ying.huang@intel.com, linux-damon@amazon.com, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v13 06/15] mm/damon: Apply dynamic memory mapping changes Date: Wed, 27 May 2020 13:24:04 +0200 Message-Id: <1590578644-27216-1-git-send-email-foersleo@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20200525091512.30391-7-sjpark@amazon.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-25T11:15:03+02:00 SeongJae Park wrote: > From: SeongJae Park > > Only a number of parts in the virtual address space of the processes is > mapped to physical memory and accessed. Thus, tracking the unmapped > address regions is just wasteful. However, tracking every memory > mapping change might incur an overhead. For the reason, DAMON applies > the dynamic memory mapping changes to the tracking regions only for each > of a user-specified time interval (``regions update interval``). > > Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster