From patchwork Wed Mar 18 11:27:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 11445003 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8872E6CA for ; Wed, 18 Mar 2020 11:29:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 46FB220781 for ; Wed, 18 Mar 2020 11:29:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="emotM0fE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46FB220781 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=amazon.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 819716B000D; Wed, 18 Mar 2020 07:29:34 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 7A2D66B0010; Wed, 18 Mar 2020 07:29:34 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 691D26B0037; Wed, 18 Mar 2020 07:29:34 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0254.hostedemail.com [216.40.44.254]) by kanga.kvack.org (Postfix) with ESMTP id 514676B000D for ; Wed, 18 Mar 2020 07:29:34 -0400 (EDT) Received: from smtpin01.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id F27E72472 for ; Wed, 18 Mar 2020 11:29:33 +0000 (UTC) X-FDA: 76608262668.01.dress61_8dab543e6f73d X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,prvs=339ded45b=sjpark@amazon.com,,RULES_HIT:30054:30064,0,RBL:207.171.184.25:@amazon.com:.lbl8.mailshell.net-66.10.201.10 62.18.0.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: dress61_8dab543e6f73d X-Filterd-Recvd-Size: 3753 Received: from smtp-fw-9101.amazon.com (smtp-fw-9101.amazon.com [207.171.184.25]) by imf42.hostedemail.com (Postfix) with ESMTP for ; Wed, 18 Mar 2020 11:29:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1584530974; x=1616066974; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=JA2aQZlnEaxp5yQP3+f4dvGiPHN9KB1VJHGZIRRVqdU=; b=emotM0fEpWD20Kl0e0fNzKwG/jzfXLpOe789xfMtdJzB/ALXRd/12RZk 7Lbrve1JlVVyZ3TLPtjnpuNE3N/XSVhGfESIGacNS8B/8SOEknsgW6lV4 xv7GLnylLIzzX7VZp2IVub96EUXdvRy1Mc+5NSfQbtTX7+wt3furtvBzY s=; IronPort-SDR: BtpZ7YY1oweq6otGrrEHR3D6EGguH0I4AXG6xgXP9yMfDd/uvcf+ez/206DLaM/RhbLjw8458a KR2kLOxxhc9g== X-IronPort-AV: E=Sophos;i="5.70,567,1574121600"; d="scan'208";a="23517231" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-821c648d.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 18 Mar 2020 11:29:29 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1a-821c648d.us-east-1.amazon.com (Postfix) with ESMTPS id 094BBA29FC; Wed, 18 Mar 2020 11:29:18 +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; Wed, 18 Mar 2020 11:29:18 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.235) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 18 Mar 2020 11:29:01 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v7 02/15] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Wed, 18 Mar 2020 12:27:09 +0100 Message-ID: <20200318112722.30143-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200318112722.30143-1-sjpark@amazon.com> References: <20200318112722.30143-1-sjpark@amazon.com> MIME-Version: 1.0 X-Originating-IP: [10.43.161.235] X-ClientProxiedBy: EX13D28UWC001.ant.amazon.com (10.43.162.166) To EX13D31EUA001.ant.amazon.com (10.43.165.15) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: SeongJae Park This commit exports 'lookup_page_ext()' to GPL modules. This will be used by DAMON. This reverts commit a50179d0e22931032aa56718cd069b0ec74974c6. --- 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) {