Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp92728ybt; Mon, 6 Jul 2020 04:57:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTuXyOE7ybh24JF5WyzFqJa3CpmoYakJqR48DmH/Mb8YUqbiRr7WvToPX5/39ii2jPAGCv X-Received: by 2002:a50:9644:: with SMTP id y62mr7621632eda.3.1594036641307; Mon, 06 Jul 2020 04:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594036641; cv=none; d=google.com; s=arc-20160816; b=z0zKKgb6+Q48OcaTT55CzUa891Wgs6fOa92opumpvGiM9VyeAT2nSHR3kkLFv1NTdF bFBzXtNKD7yLN+5+j0Ki8Duxs95vhGIhMPRJl0wSsJUibTEtFHlGG1HA4Pl51Grbm+ZQ XBo6VqPVA5/s3KikjGOCL0ZJlb8uw11Aq+UuJW6TrgrkJJBWRmAc0Srqx57Mv/NzBgqw fYz+jfT9FdYU8SWRtut/J57pEFYHSeNua+n2b23TXFlXgztmUVv+/YOCRVOBgePu6oB1 TM1WEI49+Swa25tWWBMnQLLOTzH/Z9O6JxF3oJ9tQ1A9OStPYveaRRZU3uCz099LYHFW GFog== 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=KFodkFYUcobTypZK2z+lk2aPe8xpAQLyInNhOFuMluc=; b=bcUHzQ68FeM0mD9k0xL9YknkHBqZiMS3LNMckCQAAI9v+InobO3AF+BFT7+McArv6W XgonUWrz3QhXTle3zyKIFIju/PZPZqjkbu7EBYN33RyKtFBLkpuxme3UsAg+ZmzJZKSX I9POUK15E+QA3FfcbbzqY9HQIXuyOn6AEDFMrtrHfCoJMR1POjgTQN5cSRHX1Rjp0wmI QtN5T6llFiJ7AQyg7vaEJ+HpJDrstiTuRCbfy164w4e+ZYsv6aJ1WKB/8w68fj9/KUb8 mTyADI/dsR4wRw8MrjNM94MR4n4Y4gCQLEneoEc+nqxlS42gmT8hAw6m4e646KeYlgp1 gI5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=Ry2X66eL; 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 do11si16902261ejc.450.2020.07.06.04.56.58; Mon, 06 Jul 2020 04:57:21 -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=Ry2X66eL; 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 S1729060AbgGFLyd (ORCPT + 99 others); Mon, 6 Jul 2020 07:54:33 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:47198 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728845AbgGFLyd (ORCPT ); Mon, 6 Jul 2020 07:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1594036473; x=1625572473; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=KFodkFYUcobTypZK2z+lk2aPe8xpAQLyInNhOFuMluc=; b=Ry2X66eL9D23qMiNY1gzrmLGrbD1CpQLbP47Lf41DS0b5O3Wij8sW6dQ gZgLERKzjmlmdxoGyogy+Jqyna+eHf69aPcKU/pCsXw8l6LGwA4AlrW9+ +3mefaDmrdlO7aa4YxWp4YA6WrxuoJmfDLMhspJ6rujeO5cupPTibqNwA 8=; IronPort-SDR: GZYIlNktSYZxrTIBqMiUdtML4IKdOnoL66b2zR026V16IgW99K9PjwXtX7aOVesdSNiAjLINo7 Vf9DJuGmbjtQ== X-IronPort-AV: E=Sophos;i="5.75,318,1589241600"; d="scan'208";a="49396262" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 06 Jul 2020 11:54:30 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2b-8cc5d68b.us-west-2.amazon.com (Postfix) with ESMTPS id AB6E3A22E9; Mon, 6 Jul 2020 11:54:27 +0000 (UTC) Received: from EX13D31EUA004.ant.amazon.com (10.43.165.161) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 11:54:27 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.160.100) by EX13D31EUA004.ant.amazon.com (10.43.165.161) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Jul 2020 11:54:00 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v17 01/15] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 6 Jul 2020 13:53:08 +0200 Message-ID: <20200706115322.29598-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200706115322.29598-1-sjpark@amazon.com> References: <20200706115322.29598-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.100] X-ClientProxiedBy: EX13D21UWA003.ant.amazon.com (10.43.160.184) To EX13D31EUA004.ant.amazon.com (10.43.165.161) 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. It will be used by DAMON in following commit for the implementation of the region based sampling. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster Reviewed-by: Varad Gautam --- 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