Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp818019ybm; Wed, 27 May 2020 08:44:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM6evPxOExpS/5Sd0C6rA5Hd1Lvn+UxXwxui5H0wnu1Esb63Hc7EeFPoF927eoSEtmZKzB X-Received: by 2002:a17:906:63c9:: with SMTP id u9mr6863066ejk.439.1590594244965; Wed, 27 May 2020 08:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590594244; cv=none; d=google.com; s=arc-20160816; b=aM4TG4mop7bH2p371iWL0stfGoOUJVP3E/Ee7EPrP4xMQZtAz/pqD1Eiqu3mWg9MZa 6FDEoKhYmYeixjjcMHyRNJadrHQ/8h3Eb8K/6lTf27jlrj5EG9nFmszKbZH09sRxPnzQ sTD51TSvz69vAUDhRzb5kif8xbzmR110cNI6Jgfq7YYkO75ELZdTCbHRgz5HMIPd67c1 ArOE9Joaki/kXJd90JhMX/nRyRgvR/tQAqWWIa+TTLXae8frRxQLECU8wJcjJ9aIItNE PuV2ocJZDKwINmn3Wv6GttKXFkDgPO24SfvYX65MOw2m13p4a7x1sUpLNzCdWVsyTY+h oJWg== 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=aSGAbbZ6MrjWpWJVHoh/BDwsMhfPsX7leLeYt2MGtFQ=; b=ftyNPLzVr/mBT/fkjs1L98CQJZTc8QlwYKiMBGS0LbHP9v4mjVkcUtGFg8auYMiq7z FvbzxAV6e6TsT/DvdqjuypSoLiEWFbqShhMKzWVP2hhiywcbIxLPgFpiASmwUFW0gbHD Urc2qpi8HvDdZzreLD8l57bkBUEGI/Fjv+Aw2LcR7j3kwvPJlvxtn3RWM66c6YaJVULJ x26lqUeRxN0bfxeXkvn53K/uRHf0TypH6zhzQxi6d2YMq5HWkvpoCiblhHDqLQ9mSMc6 Spphzvchv7Zwsr9SA9MCX81MzrPLa+4jkOk7sNc0QMFDvupUZIj6X2cYhQvzw+9DBZa0 gMvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=nyd4q0kk; 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 g9si2015598edu.25.2020.05.27.08.43.41; Wed, 27 May 2020 08:44:04 -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=nyd4q0kk; 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 S2388378AbgE0LXz (ORCPT + 99 others); Wed, 27 May 2020 07:23:55 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:15137 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387939AbgE0LXz (ORCPT ); Wed, 27 May 2020 07:23:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590578635; x=1622114635; h=from:to:cc:subject:date:message-id:in-reply-to; bh=aSGAbbZ6MrjWpWJVHoh/BDwsMhfPsX7leLeYt2MGtFQ=; b=nyd4q0kkj8a17MR2uKxdFILLKmSK5uhURXM4vDvGRKLFepqRc/uLfPC9 GvrJY8dDMRgfanoe84bfcVhlvC69zDk8ygz32+uOk5dbkT4aR45G4KVwF metBbROkuA+VpS3S4xwzbkFVotfEloB6zcFOOkgqATkh/Wck3cd7qWRdH M=; IronPort-SDR: e38Jv9GMufS/NfxDU2X0mIYzoy4Gb04ykr8SXT/W/n3NWmuNcECOZxB5pnRZkxcOlTna3rwezv DB0qoPEUuDJA== X-IronPort-AV: E=Sophos;i="5.73,441,1583193600"; d="scan'208";a="33842613" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2b-c7131dcf.us-west-2.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 27 May 2020 11:23:40 +0000 Received: from uc85b765ebdd8595b4b67.ant.amazon.com (pdx2-ws-svc-lb17-vlan3.amazon.com [10.247.140.70]) by email-inbound-relay-2b-c7131dcf.us-west-2.amazon.com (Postfix) with ESMTPS id 34E49A181A; Wed, 27 May 2020 11:23:35 +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 04RBNXIq027030; Wed, 27 May 2020 13:23:33 +0200 Received: (from foersleo@localhost) by uc85b765ebdd8595b4b67.ant.amazon.com (8.15.2/8.15.2/Submit) id 04RBNX0a027028; Wed, 27 May 2020 13:23:33 +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 03/15] mm: Introduce Data Access MONitor (DAMON) Date: Wed, 27 May 2020 13:23:31 +0200 Message-Id: <1590578611-26983-1-git-send-email-foersleo@amazon.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20200525091512.30391-4-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:00+02:00 SeongJae Park wrote: > From: SeongJae Park > > This commit introduces a kernel module named DAMON. Note that this > commit is implementing only the stub for the module load/unload, basic > data structures, and simple manipulation functions of the structures to > keep the size of commit small. The core mechanisms of DAMON will be > implemented one by one by following commits. > > Signed-off-by: SeongJae Park > --- > [...] > + > +/** > + * struct damon_ctx - Represents a context for each monitoring. > + * @tasks_list: Head of monitring target tasks (&damon_task) list. nit: monitring -> monitoring Reviewed-by: Leonard Foerster