Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp912204ybs; Mon, 25 May 2020 02:20:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfnbM/bU+4x+sg6CurKf2pXbQaCuXAEhueByboJ1jgno+SCm48kO8dSLIkc5EyfLdkK/Ew X-Received: by 2002:a50:8d57:: with SMTP id t23mr14581450edt.168.1590398408069; Mon, 25 May 2020 02:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590398408; cv=none; d=google.com; s=arc-20160816; b=YTyWO7t/uIcqp1FALkLAQ8yKvWKIbkbO6mV6qK7HF7I2M6jcdC/4WuthGx0bCnRYhY yXOCUdsqedhRQtNFBaCKTSl5uet+QvjAhRd0GaLADmSRqjLyteeFdDdCNzJcm2Ui+FwB VI05nq6iixto7kNxmTrjifALTYj6RnkP7FoxjO39bRLmYw+sL5cCbqe5ZBYFnqtg+ard Dkpki9PYRwoMso3pcVfio04VIh68+HkhPx7pz+qF0w0ag9HAZ5dteoejadDlBUORMlmC WmGdbNLPyD+MNIfMArxzkFtH5x/8qzbo2fkU1ZmS5AmzjIEqsUesllsXjj7bHon4qY4e WfMw== 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=KUxJ/svlPhS/ssDDb0rKIGryjjcpP5ZCB33Z4cPTP7XJEf1HVomjjRxHPNGV/qu3TX NOgxnCnPjGILT1x5FF5u03FxtDZImuZFC6HVU4V319ARF5cEgQHjyQvZ6ED3vq5t4xt7 HOSIFgzkkO707EW80uw/wGtP4YUPIWc+FGXo/dosJzF4rSKiFXUK01BNqDSUkS3qITP3 5M+ymEDZOIfnZCIxb9YC4oemQ2CKUNst4+hf55wjp+hI4zc/8UcD+M09jQFj5q6D2tvQ IdYrQCrtyA12iKq56oCCQ6PGzfqePeE7k2jRB22JHR64v8C1pIRvAGWeCzhzyXM9w/uJ WYUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=DGc3YkDY; 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 r22si8982155edq.354.2020.05.25.02.19.45; Mon, 25 May 2020 02:20:08 -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=DGc3YkDY; 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 S2389506AbgEYJRc (ORCPT + 99 others); Mon, 25 May 2020 05:17:32 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:42935 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389495AbgEYJRa (ORCPT ); Mon, 25 May 2020 05:17:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1590398250; x=1621934250; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=DGc3YkDYCdiRaw4GJHhtA0HqTbyyOOPKAIkTjJjY76JCwTMl1PyAU5Kx B9MF4fC7Q0ZS5kr8YrnxxJMhqdcgTNuqkLaxxX0sWtkUObCHWyiIxQjQB Q69X5+5j31L3YEm6RrB07PK1WZe5aOm9bf6Qc7HjIell8HpIFrr0lsN/U o=; IronPort-SDR: jrZoGAqkXJG5/VEMwAsmNCk2SAcbGsB/n7uTLDUhPRMVdWy2buwdxjHwW6nEa2qv+PzUHVREiV og2MbuqSd/pQ== X-IronPort-AV: E=Sophos;i="5.73,432,1583193600"; d="scan'208";a="37413097" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-22cc717f.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 25 May 2020 09:17:28 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2a-22cc717f.us-west-2.amazon.com (Postfix) with ESMTPS id 1FC89A2391; Mon, 25 May 2020 09:17:26 +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, 25 May 2020 09:17:25 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.160.90) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 09:17:05 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v13 02/15] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 25 May 2020 11:14:59 +0200 Message-ID: <20200525091512.30391-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200525091512.30391-1-sjpark@amazon.com> References: <20200525091512.30391-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.90] X-ClientProxiedBy: EX13P01UWA002.ant.amazon.com (10.43.160.46) 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