Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1787724ybt; Mon, 15 Jun 2020 09:22:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfWu3oruNM1SMUPcy6LiAMFR2qo0cJ2dZMqfdMeljpGnCnbLpnmmXYP4T+/WWf0aMnhGXI X-Received: by 2002:aa7:ca02:: with SMTP id y2mr23947352eds.106.1592238168314; Mon, 15 Jun 2020 09:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592238168; cv=none; d=google.com; s=arc-20160816; b=VZUTSi5VWlR7+c16Cd+2xXZslq9R4x7Uo1z9IdbjWgIyM8ISxPt8UQleF3XgR/VKQq u9P3WR3B5LF8QGpeUbBU6x1EN38dzicOHZQ3qpoisNG40tK/sSeMBZj0AooXp5a6AfYO cf6YhKno/nijax1swpT1dGqEldbKzo8YPojoWKuRkQFHW78lGDmFyUDN9g7ZTaKSMmU9 95bpYrSWWSzwI5htsHtJ5mL64ErT/eKZITsATG6WNfGh8yFTa2eiFtbScZBXgf9CMeKM WCo9pwsnkk9lwh9mXZ/y2YOQ/QqI5FW0c5ZBiqD2KjFcFvHNJZGB011i5D3crueWDmAZ xwqw== 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=YkOlKtidp9NLtrs5JARxsEri3QjtP6YTVSFmXWUpncYQnSDPw0bvfSSRUXzfxMyqou PxtHaT2hUVeKKBWxL9Z8AJd8oaJmp0MPXJP6kUn68bYjTjFDgn+gLAh3juqyv8OSwowr Xr1PGoKD/hsMWWjPw4U6mJ/lrvhpssEU5jo6PbQTARecGrkOIbgXMv3PgePHIWxEqUxc UGQW25xMJBhNZRDYiSteGRwmaP0Q+LLupx/lW7Fpoghk86YOkfp6aQvi24OJn9OgmXID SiBoEmo0sbi4LUtW/v0Ijep+4DtNJVqDhcMMuaKs9p4TaeWoob9LRatQzCyeAoil3R5M /18A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b="i5hdJ/m+"; 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 k7si8871566ejg.316.2020.06.15.09.22.25; Mon, 15 Jun 2020 09:22:48 -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="i5hdJ/m+"; 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 S1730985AbgFOQU1 (ORCPT + 99 others); Mon, 15 Jun 2020 12:20:27 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:65224 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729637AbgFOQU1 (ORCPT ); Mon, 15 Jun 2020 12:20:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1592238027; x=1623774027; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=KFodkFYUcobTypZK2z+lk2aPe8xpAQLyInNhOFuMluc=; b=i5hdJ/m+unwqguHl4zHUEXgH7tdkwAd4sm86OrBUtDgE16ANXhK3ntPj sbm7WqwH4WI/kous/AxkfZaCV5sBYcNzp6QKPi95QuKllgnIcQpj2CZIB 6c0/KmcS8eHhpQ8pYmoZPU66v+Ibc6zl6mbBtBhQFrYKZTU7IFmVsamZT U=; IronPort-SDR: d+8kFcmrVjMOo4zHUcEZP8LaGpLfub6toaIfFxqqY4YchE3iHQfJmLk93bVNQkFC+x0eEvJbgZ iCArwFJMIFeg== X-IronPort-AV: E=Sophos;i="5.73,515,1583193600"; d="scan'208";a="51081083" Received: from sea32-co-svc-lb4-vlan2.sea.corp.amazon.com (HELO email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com) ([10.47.23.34]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 15 Jun 2020 16:20:23 +0000 Received: from EX13MTAUEA002.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-6e2fc477.us-west-2.amazon.com (Postfix) with ESMTPS id CC59CA224C; Mon, 15 Jun 2020 16:20:20 +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; Mon, 15 Jun 2020 16:20:20 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.161.145) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 16:20:02 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v16 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 15 Jun 2020 18:19:14 +0200 Message-ID: <20200615161927.12637-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200615161927.12637-1-sjpark@amazon.com> References: <20200615161927.12637-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.161.145] X-ClientProxiedBy: EX13D23UWA004.ant.amazon.com (10.43.160.72) 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. 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