Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4309921ybg; Mon, 8 Jun 2020 04:46:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBEiC1v9vEMta2lDhucqeW2dJTgcNO4t5+Bxy9W4NDLA/kTSZwgm0v5MuuiilJDyXsjmOY X-Received: by 2002:a05:6402:690:: with SMTP id f16mr22577981edy.9.1591616784372; Mon, 08 Jun 2020 04:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591616784; cv=none; d=google.com; s=arc-20160816; b=K/biqritTsCsFHN1JU3Yqf9YVACeF0QgpLlm6eDtW2KoyCW0PwHZzC3JM6Wj4PUAUH 751SvbLK5Mjqo7X79zg1w8VJDbks3dKNRA1PYVFKzOA7gecMVdtBs7jte3eHTbT8FQn0 lBCmMS4TYcJxWF30UodwrfcgKvsT6+k+PSa6aeEfWAGEPx9n8M2JDXR5n5m2GQHRdigU +iZZ+F714a7CHgiseupY7J1wy0Z81eB66D4nQXP8ZlEdPSJUl/iXUdqU+yGrQ83q8EOt x0RFgA8300WYeJn4jQ4XQ0tAEfjDr4Sp+fCO8MZ9EQAfGtVQPlQatWY8kFs2FGixB9I2 +TGg== 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=tWQPJVHDriTPM+t9iIVLxFlJrxKjxyuJqTZU6SJ3Upjk7S2bFoizqN/k9/WenVsSAd Rgm6fQVU8uY35NSgVg9BujddgB3CLMIvxYsOHvwlEMkTf9s0DxDnZipJ0t8LcLtFb/m7 vSJdo5aJwEga3Era9Vp6C3S+yVNs+xFnMItVQw8rZNzwEq7x9g2RLBKIvhpS1bi0vPTN lfDjPJJMhmIMyeQ3f90Uw3rUsP/sr05OV7KNZBju28LUVtFxTvzo4prVMkfW81+CFsNO 3XEkFCCA64M/yhp3e1JFRPtbqpcFcPPfFN+YagK7srtMUIbTd69EAJPp87z5I7xQST6l VC/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=PZ+Q6kTz; 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 t9si8361703ejd.172.2020.06.08.04.46.01; Mon, 08 Jun 2020 04:46:24 -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=PZ+Q6kTz; 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 S1729642AbgFHLlv (ORCPT + 99 others); Mon, 8 Jun 2020 07:41:51 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:39518 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729625AbgFHLlu (ORCPT ); Mon, 8 Jun 2020 07:41:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1591616510; x=1623152510; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=tzqFpBqYuNYdmIDQaxDJFoQHYQ6t1Uuo0vpOOKcI5WQ=; b=PZ+Q6kTz48zAJLfcUAknrNBX9LRF0L55y47fpDTuURW2Zitl4ecywJyt F7DXiliZU2Gnm6qYvplErftcN2yYJCQxiDFc3vQohdTDUbTWFqzw+/egC LNP8U2AlqfnibRD4BQdTk2euUtcW/p6fQv5d/KFdAaFNW92Pf1kAEQjwL M=; IronPort-SDR: xiFxRJogapcywc7OPAgfZIpUsq0I4f+zVXHXCtEhGJzFk+jPZ7boVra1W8mQr7X0C0Annpw+UI ViZjLVWoc8Eg== X-IronPort-AV: E=Sophos;i="5.73,487,1583193600"; d="scan'208";a="50569453" 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-9102.sea19.amazon.com with ESMTP; 08 Jun 2020 11:41:47 +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 25316A1DDC; Mon, 8 Jun 2020 11:41: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; Mon, 8 Jun 2020 11:41:44 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.162.53) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 8 Jun 2020 11:41:27 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v15 01/14] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 8 Jun 2020 13:40:34 +0200 Message-ID: <20200608114047.26589-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200608114047.26589-1-sjpark@amazon.com> References: <20200608114047.26589-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.53] X-ClientProxiedBy: EX13D46UWB004.ant.amazon.com (10.43.161.204) 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