Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp818741ybm; Wed, 27 May 2020 08:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+C2kxzTpub3O3+ipwhsa4WUtZ+tKtXbW9LjnhwcgbIYhHYUiN/FcVDEKoSNEUIW2oeZHq X-Received: by 2002:a17:906:70ca:: with SMTP id g10mr6881763ejk.171.1590594303233; Wed, 27 May 2020 08:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590594303; cv=none; d=google.com; s=arc-20160816; b=Ruz+4gOiBCuakhbFqEzo9BuwCLv8sFaN0Vp1OEQiQmwa8OX9IflkGPrcEREV7J+jQq CzJd+IxgZskM6ynB41rBPb0/DDePLnnm2Lm85R/R5vheN0Zu04UoO+5o/b9N0212HqHr R8JjQef0qLw2sb+3sjHv7C5G7YmXbEGzc83giza6Dg0S5M2wZJyWF8s+7VBOriSzkFvc +tGidfE+pDQgJUDA5cZlPni4pKpBKlmBqYB6oh6DeCRC7sfljJAHIv+QEK3XV4xuPZC0 43H8tP4OjAuBRVzHR1aLHmUCqRfqNiXxsvL+rygb0Ctobpzg4OQDa97RHvsiDmPMq8ts 3YoQ== 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=QTcZ5qD0FayvieP+n15JSMMJ8RxzSZ9hkKMgdyePYl0=; b=cH8QNSaE4x3gteGcZ1icypbOLFVwclU16LY/eLB9cn6vJ7PN+RRz6KNcL2gAQjoYUS RLbtPk4Vyot19HNhmcUOmGD5VJVfSPNTuFCrrdbpoEe0zzuUygx1zcKv4PZDPLRjnGPo v56ZJ0tn3hd3ieV+a0lsVtCSpDug6OQiVyPhJ/vSrYD44LrnakbtDt4oXRm3+6FVLUnG /lJMnCi2Q00+V50P5VQnMhGpXMFuEseF0GtlFtXrilvBQ3liHShOiopFe/o8etL3W3CO 6TDRxnGRRIbxjooIEUbqtlwk6ydMC0f/CHa9yssTsCbNtm8RqkeoHB1o5JWtq2PRr31C XfDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=plyM7FI2; 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 la14si2147906ejb.277.2020.05.27.08.44.40; Wed, 27 May 2020 08:45:03 -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=plyM7FI2; 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 S2388470AbgE0LYl (ORCPT + 99 others); Wed, 27 May 2020 07:24:41 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:37353 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388019AbgE0LYk (ORCPT ); Wed, 27 May 2020 07:24:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590578680; x=1622114680; h=from:to:cc:subject:date:message-id:in-reply-to; bh=QTcZ5qD0FayvieP+n15JSMMJ8RxzSZ9hkKMgdyePYl0=; b=plyM7FI24ylSxSVsctzof4+2tXoQIxcrSgg3tnsCf8rplz1XGYUs1baI qOv9DXnt3ddxFsajmLqkIAEzb5pPlga1GG1VJfeSprhM3OfTtCm5e1GPP MMBciVRrtk80CoUHIKsW1nSTLHFlwr+vprYNJd4Fn8EZoqOxyr1p6XacJ k=; IronPort-SDR: UjrcPBbDIDtwAzxUSHYYy2Zs0BF2mpFsA3jrRnlRgUVFLc2w2DleD2rI6O0xnpqgMhyahdzSN/ mjivdWn5aq4g== X-IronPort-AV: E=Sophos;i="5.73,441,1583193600"; d="scan'208";a="46374300" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-27fb8269.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 27 May 2020 11:24:37 +0000 Received: from uc85b765ebdd8595b4b67.ant.amazon.com (iad7-ws-svc-lb50-vlan2.amazon.com [10.0.93.210]) by email-inbound-relay-1e-27fb8269.us-east-1.amazon.com (Postfix) with ESMTPS id EC12CA1CD4; Wed, 27 May 2020 11:24:25 +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 04RBONgs027396; Wed, 27 May 2020 13:24:23 +0200 Received: (from foersleo@localhost) by uc85b765ebdd8595b4b67.ant.amazon.com (8.15.2/8.15.2/Submit) id 04RBONh4027394; Wed, 27 May 2020 13:24:23 +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 08/15] mm/damon: Implement access pattern recording Date: Wed, 27 May 2020 13:24:21 +0200 Message-Id: <1590578661-27344-1-git-send-email-foersleo@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20200525091512.30391-9-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:05+02:00 SeongJae Park wrote: > From: SeongJae Park > > This commit implements the recording feature of DAMON. If this feature > is enabled, DAMON writes the monitored access patterns in its binary > format into a file which specified by the user. This is already able to > be implemented by each user using the callbacks. However, as the > recording is expected to be used widely, this commit implements the > feature in the DAMON, for more convenience and efficiency. > > Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster