Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1838563ybk; Mon, 11 May 2020 05:37:26 -0700 (PDT) X-Google-Smtp-Source: APiQypJ0CMxOvjxup1CE/srB9WTek0pfYD6i++noIHQbqPXw6i8eq4UDbpVgB+cm5CNiobDKBHhA X-Received: by 2002:a05:6402:21cc:: with SMTP id bi12mr13234050edb.294.1589200646280; Mon, 11 May 2020 05:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589200646; cv=none; d=google.com; s=arc-20160816; b=Kx2BVg8KTLxHVteTha5y7OupyiybI65L+yWvODRaQ0IgwSOu8yOu0QIe4NbYQ9WkHE cEMixqefB//DRuo5NmsTF+XyIy9SLNxe4vJDiJacJF/xt+swmzuSVD08ptM2CRPVRMdz cOMVHG++GUq2H7kq779i+x+ZIp1bALvBZbvI60t1byhZ/f0h9CXbCg1v6/Nfg49Hle0d SuBrsof5R4jS93prcmJc3yPq9zqmWkLhJsCQkuOp+1mGadpi+24Sa/vVN0UjlN8pzI5O a1YCy5wyW72fQxXBEA/Ar+FYc0bJ6Mo0N5t1VZjVudGxzdSXlyeIJPMYd+LkJqFCQISc gl+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=hecpRyKLRLKqK/2r2gpy4d+sk4p5vfnq5M3a2CvGELyY4LD4xavLgJj66LQxJ8Z53X RZoOjWNDIWshFFtlIMmJsAiZ1tUYftfk5Eil/kY95E7KcqXfDarxZgqQRHSp0XfMKYxM ShOu6ROI7jkyNHd4E2kNlVI+32Q1IvhdC+uBU7Iubx5HV0dFPlqQDdSpqFem3jIYdw/0 R/DP6A5uXoRgbCSmwX++otMlbWNXszGRThY50SS3cefsvIrueZ+58LXc0gB4P5lY11wA EUxff5BC5NXi6b5jC/KwK5hNpDWjlmvutOQto/c8UqrDKFJwZCgDc6fq9fSK8JBlQJ+v RVHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=t9Vjl+Bg; 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 b9si3822646eja.138.2020.05.11.05.37.03; Mon, 11 May 2020 05:37:26 -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=t9Vjl+Bg; 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 S1729937AbgEKMek (ORCPT + 99 others); Mon, 11 May 2020 08:34:40 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:27312 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727019AbgEKMej (ORCPT ); Mon, 11 May 2020 08:34:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1589200479; x=1620736479; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=t9Vjl+BgVlC9nQcD/78SQ8QZosuXkuxtNP6PLMuxoTXKHjd+BGbB6YsJ 7b/CMqAJCyaEqJnllh8b2WfHYAl0xRBiMOeJDEDNEJvJjDOyP13PECYdT +HtjGY4HjJM5i6EqMCEN1l5iaOVp5IyEJ9I7RruqfJn7aWQueDTs0UjCv I=; IronPort-SDR: bYq+2GAJ3wjEEJiqjRh1v9dOz7gI/tBXbLR6FE9FYKBblQlbpdWhOayGZnRw0+PL33OSGaRcsH slB314RzfR2w== X-IronPort-AV: E=Sophos;i="5.73,379,1583193600"; d="scan'208";a="29558027" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-98acfc19.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 11 May 2020 12:34:26 +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-98acfc19.us-east-1.amazon.com (Postfix) with ESMTPS id 728BFA2592; Mon, 11 May 2020 12:34:15 +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, 11 May 2020 12:34:14 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.253) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 11 May 2020 12:33:59 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v11 02/16] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 11 May 2020 14:32:48 +0200 Message-ID: <20200511123302.12520-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200511123302.12520-1-sjpark@amazon.com> References: <20200511123302.12520-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.253] X-ClientProxiedBy: EX13D06UWC001.ant.amazon.com (10.43.162.91) 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 From: SeongJae Park This commit exports 'lookup_page_ext()' to GPL modules. This will be used by DAMON. Signed-off-by: SeongJae Park --- mm/page_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page_ext.c b/mm/page_ext.c index 4ade843ff588..71169b45bba9 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) { -- 2.17.1