Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp814395ybh; Mon, 13 Jul 2020 01:46:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW3PXin4BfpAnXKA7li8BatF7N3AmGqO40VqZWmuK0gi1C0yH20OQDtWS0YnunD8pw73D8 X-Received: by 2002:a17:907:405e:: with SMTP id ns22mr70625791ejb.6.1594629977602; Mon, 13 Jul 2020 01:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594629977; cv=none; d=google.com; s=arc-20160816; b=VffCV/skSbYIJPS+JFlN8NF3PCC9OLhyZKh1YRi4z8u32aKm7/vZEvffyMDWlSemHO LdL+eoRSf3kbFD3kiozaZ+VAu4bO2Cghk/uxVxwPelZPkJadUnGiYwy2xvw7ORc4zS7Z VlK4DsOoqOLebuMajcQqGqgpOH+Sz+kO2GKwNhdSHw3LoGsp3xjLa2ZlovKzGMVdJKUh TyL/VZshTZUQo14pIGNpBAz7CgdxlabehK42sqg+wDAH2Wl/N9hO6X7cV82Znl3qsKSg gNOniJQ4ojweptbeeEgUIyOiCczTqsCTwJcihznFI4zvLJf1AEFWngGuSzIQcgvHGnkX cKxQ== 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=m+wOdcqlifW1RX5PqdyMksIy8NDSrDM+rEdqwMm5WVPGV/xx7JdJJ+BcpmZJia2rOc W35mjTthFbjGoNihMvLwdtE4IEmGyJUKXWmyELsoaBJDXXG6Xi3WiXyioT6Iar7YLsM0 XaV2f+TT30JsAPllcmhyC4l1lXodw7rX3p7+QqHVQzPcW4oyW1uBPCC2WTpfulMehsRo MVJoVXGH/fj8zIQIc3jF+gMsCa8UE18ZvY41o30i/6sDPehCgvZKhsAi1ktqYQ006Hxk JsXKp2wVTnGaHRBVqeL5/LLiidwoWMY4LgGQ31070Yc+17kyFIAKWhFj8m4gAriJBaM0 xImQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=qC72Qpz5; 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 ss22si8341379ejb.530.2020.07.13.01.45.55; Mon, 13 Jul 2020 01:46:17 -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=qC72Qpz5; 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 S1729270AbgGMInR (ORCPT + 99 others); Mon, 13 Jul 2020 04:43:17 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:43096 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgGMInQ (ORCPT ); Mon, 13 Jul 2020 04:43:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1594629796; x=1626165796; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=KFodkFYUcobTypZK2z+lk2aPe8xpAQLyInNhOFuMluc=; b=qC72Qpz5+cU8bByKXwxaADnpxn5xhg4z9jalJy5eiAmrUVWjhqKxlXXC LyQa/0vVczUh/azy1e6KiJ00GghjxUxHx/QtZwL/CcsbC4PeYUz7NbXW+ agBnFooHjtzWSPHqfh7+7wSkptACQAtiRSZjoBVdesk9IheBIX375kmys Q=; IronPort-SDR: QSexPCqKiDVNP/dg03WA2kebK77offS8U8MfPhzaet/6yBBA8GroMHSnlbq8OmBplBO4JMpfa9 dUF2W3DBv8pA== X-IronPort-AV: E=Sophos;i="5.75,346,1589241600"; d="scan'208";a="51060028" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1a-16acd5e0.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9101.sea19.amazon.com with ESMTP; 13 Jul 2020 08:43:09 +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-16acd5e0.us-east-1.amazon.com (Postfix) with ESMTPS id 80B2AA23FF; Mon, 13 Jul 2020 08:42:58 +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, 13 Jul 2020 08:42:57 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.146) by EX13D31EUA004.ant.amazon.com (10.43.165.161) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 13 Jul 2020 08:42:42 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v18 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 13 Jul 2020 10:41:31 +0200 Message-ID: <20200713084144.4430-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713084144.4430-1-sjpark@amazon.com> References: <20200713084144.4430-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.146] X-ClientProxiedBy: EX13P01UWA002.ant.amazon.com (10.43.160.46) 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