Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1278402ybg; Tue, 2 Jun 2020 06:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ/5p3BBMqBaS/3tFQdsdp3cq0fZ1DVk4/18T9hFNh6aJWijGyQFQ5LmuYhCvP6yEMCGM6 X-Received: by 2002:a17:906:7f95:: with SMTP id f21mr7906032ejr.554.1591103136675; Tue, 02 Jun 2020 06:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591103136; cv=none; d=google.com; s=arc-20160816; b=YZ6ssKD0WKR+JcHSMOgxrDGg9ZELUlHGzfUENDB7Y5mDdLn2V/rj2mD9EpKgAVYfQ5 oYZbjVb5ERo6UJOIHrSy++nwxNihkLk+76UusEI8gzOyGky9LwD87XyqDk7gGnYgNDB6 t8GLMijDN/jDC6LTdtw8olI8lfXHMQD9WVi26Q33RJv4UCjLf/HxdsN3yoJ3GY/bC2Ym vRIpAc5amdmGOUleEu8zI+b996eKRzkxwXNaIEuClsZL2bmqY8+OedSuSvxa59tguSUd AsE6lI86avhAsi+NmnywlAtXLMIt/Rg2RXGTvAJApDXYXPN/EMZvs7kbf9crHnrr1Ps5 lDRA== 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=tzqFpBqYuNYdmIDQaxDJFoQHYQ6t1Uuo0vpOOKcI5WQ=; b=nhoZsrZTEE9hVmvOa4WTIe+n8VwqJrj6SJ2LHPBGmn8dJ15cVhefQVbzH/ZlUm5Sr8 4soDsvxcuZyCgUbH+2sFpQuL1JJZHGGcLIdYEGl+KatDLbK/CnLsHkU84VhPV77PMHTl haPyCbD3uhNmdyq6yH9Uw1LRN+Hx1gdqYIPD8gg3ApUSewWGUzp3lyIWUBbgvbCE33Gv XL3LlhC9h6kADkvBExA3EikDW6G8BAnptof4aS2N+5d/p2UGt3rLXrEbI+PoEoGwdMww Mc9mYrZcC81oIVQoLm3eSk/wVnbdluGKk3B/EKFJcRINuGUiVCB4lgvxiPfhFP2esowT 8hdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=k8AdEQmG; 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 z12si1382500eju.555.2020.06.02.06.05.11; Tue, 02 Jun 2020 06:05:36 -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=k8AdEQmG; 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 S1726922AbgFBNDD (ORCPT + 99 others); Tue, 2 Jun 2020 09:03:03 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:11378 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbgFBNDC (ORCPT ); Tue, 2 Jun 2020 09:03:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591102981; x=1622638981; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=tzqFpBqYuNYdmIDQaxDJFoQHYQ6t1Uuo0vpOOKcI5WQ=; b=k8AdEQmGtSv8FAATyGT2hMbhX0dXMzVAR+kM2y3FwNkdCSUDojUTpNMX c5AAN60cIcEyQOywnkIztEzQ50nlZG/nIsVnQx/5xN/lEMvEBv8Tsg88W 8jDQ3qgqMYgaN6RH/4D/6xB5O8jMmmCrrP2zByJKYIt2WJM+nB0J6A7yh I=; IronPort-SDR: qoYsmQOdqA0pkwrJpX8ri3TNLi/W0XXlTF2bAtoSIfVfTLYiiwvKW3I7lGTGd+lpXB4NQets+z Ry58Vym9o7AQ== X-IronPort-AV: E=Sophos;i="5.73,464,1583193600"; d="scan'208";a="47838988" Received: from sea32-co-svc-lb4-vlan2.sea.corp.amazon.com (HELO email-inbound-relay-1d-98acfc19.us-east-1.amazon.com) ([10.47.23.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 02 Jun 2020 13:02:57 +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 F177BA0814; Tue, 2 Jun 2020 13:02:45 +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; Tue, 2 Jun 2020 13:02:45 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.175) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 2 Jun 2020 13:02:27 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v14 01/15] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Tue, 2 Jun 2020 15:01:11 +0200 Message-ID: <20200602130125.20467-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200602130125.20467-1-sjpark@amazon.com> References: <20200602130125.20467-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.175] X-ClientProxiedBy: EX13D29UWC002.ant.amazon.com (10.43.162.254) 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 Reviewed-by: Leonard Foerster --- mm/page_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page_ext.c b/mm/page_ext.c index a3616f7a0e9e..9d802d01fcb5 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