Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp601427ybh; Tue, 10 Mar 2020 04:57:56 -0700 (PDT) X-Google-Smtp-Source: ADFU+vucUbgqhr96J6shRZL9OULjNtZnDIZ5plShwV4A05DFBlClZpxcDj3RZz+1641/u0V5sSdw X-Received: by 2002:a9d:63d2:: with SMTP id e18mr16781628otl.277.1583841476246; Tue, 10 Mar 2020 04:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583841476; cv=none; d=google.com; s=arc-20160816; b=rY8nOZasg4R+qy0xc0oeiCGtC7z+2aMJ+ViM7ctylIssU9l05QdXAMcnebYvSQ3nVk Sg74A+/ZLPhmMIIux6HOiPDgPWTFFAtqaM8TmPL0SLPvc0Dy9Vp8HTCnW7gEhkKI41PT CZo+bMxK8AIjeEFi+glJYPYKZM3GmFSWTjMOonO4G8yjw21I5lPXMiJURZIB2CC+FlXV KNuLkWxA69EVuEEVEVX/lujifbgi7X6yMmxGlTYYf+3H1K8AxbIezSQ/1WErYvvjeS5c INbVO6jUa6vsMiVayACUCHj52JfGqXWahiFDuSbVRlP0ykI4ByYQCvKpMToNcABiEExi dBrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:dkim-signature; bh=/536h/PMZwJYWZ+PhtKBlNa6R33fzMsgLqFmj+1/g/g=; b=uYhcH8HqQe4cZdFaDUP/bswzrGAMPJ0uXXDzzq0/H4YyPWLw10138gZBwePLiuM2M+ /CvWQ11hU7MJgtFW/OA+KV/xvgMW6b3fgOWHsH5xAWBeDDsKtVDuhutfBVhOdiLwqJr+ jzJd9Dx6tA7tPs8bdw3ZxLBf4DQTViOjOQ/M2OMLbncaRuqOdZdDxaKMF2W9HiSjB55F 2Mipq6nAJ/luwWq9sNYSoz24Saj1lXepFJLqm65RYYLRz54GWjVRfP/K28Sys4bYI6Tp 7dduD43wwdKvdRppxso6iVxk+2G0N15UuY9hTglE8oJ3IRUzOpn/LTMUYlA/c74rn1AZ ravA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Up29+5bX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r19si7597850otd.106.2020.03.10.04.57.44; Tue, 10 Mar 2020 04:57:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Up29+5bX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726598AbgCJL5A (ORCPT + 99 others); Tue, 10 Mar 2020 07:57:00 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:37827 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726273AbgCJL47 (ORCPT ); Tue, 10 Mar 2020 07:56:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1583841419; x=1615377419; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=/536h/PMZwJYWZ+PhtKBlNa6R33fzMsgLqFmj+1/g/g=; b=Up29+5bXI3ItrO7J3FJXiDHwupYtuxYKuzJ3C/7NfZuLGzPCCMzx+MH1 T74B+h6K2LAG/0toAgAwy33sMpjOBKUYw41HtaY0+EfN5V9nVbyWA/FDV 84hBkqgAxiCYr8sBFiF+qwG14KOM5HVOeDeL4Tum5OYMTCxzjkjiazCA4 U=; IronPort-SDR: EjzRwEhoIj4qQ2L/PeyoWyBcO1nF1ZligbE99rfQCXABPF3oHoKjRT7wDJMuiCFRRHL/N2yJTm 5aNN5ibcwbkw== X-IronPort-AV: E=Sophos;i="5.70,536,1574121600"; d="scan'208";a="21951174" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1e-57e1d233.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 10 Mar 2020 11:56:56 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1e-57e1d233.us-east-1.amazon.com (Postfix) with ESMTPS id 5E9D4142907; Tue, 10 Mar 2020 11:56:47 +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, 10 Mar 2020 11:56:46 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.162.115) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 10 Mar 2020 11:56:34 +0000 From: SeongJae Park To: Jonathan Cameron CC: SeongJae Park , , "SeongJae Park" , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: Re: [PATCH v6 07/14] mm/damon: Implement kernel space API Date: Tue, 10 Mar 2020 12:56:20 +0100 Message-ID: <20200310115620.24768-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200310090152.00002c6e@Huawei.com> (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.115] X-ClientProxiedBy: EX13D38UWB001.ant.amazon.com (10.43.161.10) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 10 Mar 2020 09:01:52 +0000 Jonathan Cameron wrote: > On Mon, 24 Feb 2020 13:30:40 +0100 > SeongJae Park wrote: > > > From: SeongJae Park > > > > This commit implements the DAMON api for the kernel. Other kernel code > > can use DAMON by calling damon_start() and damon_stop() with their own > > 'struct damon_ctx'. > > > > Signed-off-by: SeongJae Park > > Seems like it would have been easier to create the header as you went along > and avoid the need to have the bits here dropping static. Yes, exporing the API from the beginning must be much simpler and easy to review! > > Or the moves for that matter. > > Also, ideally have full kernel-doc for anything that forms part of an > interface that is intended for use by others. Agreed, will use the kernel-doc comments! Thanks, SeongJae Park > > Jonathan > > > --- [...]