Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp528042ybh; Wed, 18 Mar 2020 04:31:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsWandoqD1PsDlvuwjfjWXR/2i8WDbUGuGIFBc3tG9DVVENETc/yr7BPuEVTEmZSI9UM0ZQ X-Received: by 2002:a9d:2215:: with SMTP id o21mr3234078ota.113.1584531087594; Wed, 18 Mar 2020 04:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584531087; cv=none; d=google.com; s=arc-20160816; b=jlb5uZn1EUtNT8eZ5r4sOuyJDJzz1uzUJNTokbwS4gsOL16K19IIyoH7Ae/NdW4N5t THlZVC/lmWE6msqXPXuFJBtbpjC11TLCn5mcvt2kUImOG36gcXwFwIwgYkDA8uo6j4c0 35JHm2A9+19TNWqfTQTq7+0DE4rVv9eFIGqRMmI0T6SD4oMM232ikdUJDQW8sVC7ta54 UpyhrFp0V3gWXVBdWQYU3Bb6VmD5BKR5MrXmoOUVoGQEElwY+EWU52lf6Nmh/Z412jGZ Uio/bt5UHZl+4K8/8aFKkg0EEKex+QPtrF7FIuxUrFjpTkEqgC1FplsmvG42Wuvjq6HD Pr+w== 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=JA2aQZlnEaxp5yQP3+f4dvGiPHN9KB1VJHGZIRRVqdU=; b=Fl3lRkTGAe57WCbkd475QRBh6BPoF2eOW+fwUvL8ROGHczOjG3+8V8etiQYqbxKFts ZQQTzQYtx1uU4EHlntBqm0jF/xW6IowVeDP/v+zGsXgNu/xlFE7cbjnN4Ztf8Pish4NU lzGa4eTKNfzGVdaHcpMHWulCdXDWtGI5vbxirFEY89Zqlr5Oag282EY+ulcENvl6Vocp 7sV3Egy+/vp1PDNkU1QJCq0GWdbI0Unm1GE5KTqcHvadOhjScnKyCytlPyxMcSsdNlhT L4WZHkCK+9PhfKciXdK1emwVmivMKLP94cr3zcnqcF/y0Hv4zwe7rROuyvvFs9pEWAak 4xdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=bJbqWPqB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 38si3225089otu.250.2020.03.18.04.31.15; Wed, 18 Mar 2020 04:31:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=bJbqWPqB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727722AbgCRL3e (ORCPT + 99 others); Wed, 18 Mar 2020 07:29:34 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:51921 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726964AbgCRL3d (ORCPT ); Wed, 18 Mar 2020 07:29:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1584530973; x=1616066973; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=JA2aQZlnEaxp5yQP3+f4dvGiPHN9KB1VJHGZIRRVqdU=; b=bJbqWPqBjB5vafvuQgEBhmHpTnUzUaQSrzQWopS0cHiwm6dK4rLxAUtB 6/fWO8gA/aiB2sXOGnKV2SP47HmfoagR/GNOKxDwLSVRalUsOk9xjEM10 gTEj+o1QQsxGWvtdP62yI0tl8zW31B0QYk461vvrlYobbbvJVcO44ESLG c=; 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 Content-Type: text/plain 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) 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. 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) { -- 2.17.1