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=-6.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 35508C433E0 for ; Wed, 27 May 2020 11:24:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0835C2078C for ; Wed, 27 May 2020 11:24:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="VG8G3vBh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388460AbgE0LYa (ORCPT ); Wed, 27 May 2020 07:24:30 -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