Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4319095ybg; Mon, 8 Jun 2020 05:02:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwh0pbfRZeRlIJ6rGy/edg/tvkh39kMuh5Ev08ooRRaE3bE5xs4VRdlT8IU8uki4lW9eC0l X-Received: by 2002:aa7:d7cc:: with SMTP id e12mr21138389eds.70.1591617740352; Mon, 08 Jun 2020 05:02:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591617740; cv=none; d=google.com; s=arc-20160816; b=p4moim++JBigj3g7/0feptvV2SSaBIqZtCJMUxDq0FXlTWxps5LpTIUOva5hnzXUE/ DXgfmRUY1382yn/yugUhypWIyhJkXwFKyRWVWOSW0rqVDdEy/OzRq+JtwTeGZHmsy5wk 3KbcsVTCMjtEliv9g7sP/gYiyX7D4X7rWMArH9LE32N/elMPwVZYMem+m7oIc53e92nH C3TUsDjbTKmSmRuVjkggDtys/1lVrfKq7O7Duu0ztdW3u586vIaLGRJyC2iygqyE+6Gu OAPfHAkF3RealsdjtfLR+bT6IOleNn6tmqWGoBhlV0KfBYFbAmY0GtGT8yvJ7O780AxQ p+nw== 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=mBD4MaDFTceVZuqlL0CnW8gUjB4N3aqvEq6ol/w0Jn0=; b=EbYjU1WfeMuX+d6ptK+pZcejnuSzf2Si3pk+i7yDYfXj4SIp/h9CBnOhRUcshGjGfr jeTJCdJKOU8scT3lBgtfn305q/QEQjCpI8alcb0hQM+MoiN4M0wmSwU/Yva/uEvYsu30 XA3iRzdcRGquVqVmkIw6kDMPQcH/GMGZDqXvFfch9P7O8d28mW1LJHNefNarV9oTp29W KDa4L6EsiHLKnsvsMgJFqhKm4KIIfnHsNSUTzcUg9ci8xn0O3j9TWcSVw2oofqM8gon2 +FAGkpD3ClFCctkp/mUrcFli2n0CrfEvOJxOfl976i14PAM2zKy7hk7w0PTTwh/gf+ZD 7YYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=TqmdI0hN; 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 dt17si11717389ejc.457.2020.06.08.05.01.56; Mon, 08 Jun 2020 05:02:20 -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=TqmdI0hN; 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 S1729755AbgFHL5W (ORCPT + 99 others); Mon, 8 Jun 2020 07:57:22 -0400 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:42055 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729694AbgFHL5U (ORCPT ); Mon, 8 Jun 2020 07:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591617439; x=1623153439; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=mBD4MaDFTceVZuqlL0CnW8gUjB4N3aqvEq6ol/w0Jn0=; b=TqmdI0hNOSAePCnNrB3ecJOy+CXz/rAXqlevSnFu9CuWq6mCBc6OXlJ3 p7dgtVNruz3H1zNMojk0GLkT39fUyjfr3kg5mRj4PHxuB1FtTufsRsu9M 0K35imttfsAh3XNABj54LZ+i5BV22Utm1vda3kEii3vWBmWl9of+uw/1/ g=; IronPort-SDR: A3XJASAFNQDFfveEQirqPbP6OECZKDI7BAlYdK20yPhT7gVJf2f01dlJM9Gh1+LWubHDgU5YcZ x1dEsF5lPsTA== X-IronPort-AV: E=Sophos;i="5.73,487,1583193600"; d="scan'208";a="36358411" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 08 Jun 2020 11:57:19 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-2c665b5d.us-east-1.amazon.com (Postfix) with ESMTPS id D635FA1E21; Mon, 8 Jun 2020 11:57:07 +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.1497.2; Mon, 8 Jun 2020 11:57:07 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.160.26) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 8 Jun 2020 11:56:51 +0000 From: SeongJae Park To: David Hildenbrand CC: SeongJae Park , , "SeongJae Park" , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: Re: [PATCH v15 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 8 Jun 2020 13:56:34 +0200 Message-ID: <20200608115634.30778-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: (raw) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.26] X-ClientProxiedBy: EX13D43UWC001.ant.amazon.com (10.43.162.69) 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 Mon, 8 Jun 2020 13:53:23 +0200 David Hildenbrand wrote: > On 08.06.20 13:40, SeongJae Park wrote: > > From: SeongJae Park > > > > This commit exports 'lookup_page_ext()' to GPL modules. This will be > > used by DAMON. > > > > Signed-off-by: SeongJae Park > > Reviewed-by: Leonard Foerster > > --- > > mm/page_ext.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/mm/page_ext.c b/mm/page_ext.c > > index a3616f7a0e9e..9d802d01fcb5 100644 > > --- a/mm/page_ext.c > > +++ b/mm/page_ext.c > > @@ -131,6 +131,7 @@ struct page_ext *lookup_page_ext(const struct page *page) > > MAX_ORDER_NR_PAGES); > > return get_entry(base, index); > > } > > +EXPORT_SYMBOL_GPL(lookup_page_ext); > > > > static int __init alloc_node_page_ext(int nid) > > { > > > > I've been told to always smuggle new EXPORTs into the patch that > actually needs it (and cc relevant people on that patch instead). Sorry for didn't noticing that. I will do so in the next spin. Thanks, SeongJae Park > > -- > Thanks, > > David / dhildenb