Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2591762ybk; Mon, 18 May 2020 03:04:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEahZ7Y/qfS6J/0XYo3kncBi5J0Wu2jqXZdeGztFFKcW//3rBGGAkkDMnIJqsf8YPAec4u X-Received: by 2002:a17:906:19d2:: with SMTP id h18mr14859915ejd.147.1589796284470; Mon, 18 May 2020 03:04:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589796284; cv=none; d=google.com; s=arc-20160816; b=weestBDBigM78E/yxZ2dZHV1moBAgCGUw2Kbqi5PuwD+p53wOapMAXkziyIjeAJfQK tWSO4n1UD83JV2ckGfk6x5A7tFCq3MGRoCXkOOROLT7vsANAp2Lf4CpKg/D3pAHOyuMK CT1FJWD/in7TMbrdDCUELEI/+jb4qG+7t7dRiJiG7YRNsDxwsigsQ/hbahH+L5gFWZit /gMgR3UGj9FJTIMiJJWX5eMC/S3JCRlwA+Rr14W/8/wnGT1s/Vfs+ICPuhlhgJFSpiNp yoMbRg8vqdNyM0VPRbpnnzyDkiP7i81kldKoVVpFkNLpYphXR9qjf0cpaq3qOYtijHH5 TARw== 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=SR5WtNR0D2hYRZNfxEMDpdM7NCoIIbGXgMaRyioaPJkZJcuoyK6ASddz+npr1BXqpE pAhiDX/tQmE3uKke+j7s76B5MpXJzzgWg8T8G2HGEI4QgZmpvXzk3J2e+PMEPzhjL6SI xwh1WZFN8mAbCv1vxrTh701NPhz6NUi4jTZGU2Wy09VK3w77KCFchzEv1jcYRynno16+ T1sNZBljjP7r87RiTswmjZqjc+IaXkW4L1WWv/DxpwtJh10MjH+vPebPA+M90q8lBeO+ MtiGeymHfrtcTg+FDM4d/jluJuPldz5ks4XtsboQS7qlVtkvb8tl3fPSAtOfZ7IxaZ3a xWhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=XFbb1vq8; 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 qt28si5975345ejb.256.2020.05.18.03.04.17; Mon, 18 May 2020 03:04:44 -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=XFbb1vq8; 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 S1726939AbgERKBr (ORCPT + 99 others); Mon, 18 May 2020 06:01:47 -0400 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:23791 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbgERKBr (ORCPT ); Mon, 18 May 2020 06:01:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1589796107; x=1621332107; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=XFbb1vq8cUBx00WfWJ9Vl0F4byzpyWw4L7ZMKcnjQ1+4QlM7bY/Tntkf 8aoy8vdK4gR3BLi3Fcdp0eKrSedvQ3ec13ICOPeu3pvoEuWv1Lkr90vwc aGeuPIbghKaaxwXRcfejwHvini7ABaVzd1Y5LafoToWTBHtF3sGytskRP w=; IronPort-SDR: lYb/wQdtVJ0K221kRoIkCR7FND3r2SA9hTlXHIz4wrOczQxw6NhIvw+loDcOP96WqEmgFG8X3W Yc8eIQe/vKhg== X-IronPort-AV: E=Sophos;i="5.73,406,1583193600"; d="scan'208";a="30702537" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-f273de60.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 18 May 2020 10:01:46 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-f273de60.us-east-1.amazon.com (Postfix) with ESMTPS id C0840A235A; Mon, 18 May 2020 10:01:34 +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, 18 May 2020 10:01:31 +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, 18 May 2020 10:01:16 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v12 02/16] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 18 May 2020 12:00:04 +0200 Message-ID: <20200518100018.2293-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200518100018.2293-1-sjpark@amazon.com> References: <20200518100018.2293-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.90] X-ClientProxiedBy: EX13D04UWA003.ant.amazon.com (10.43.160.212) 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