Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3293364ybb; Mon, 6 Apr 2020 06:11:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJ68al2XrtNhr172wcYheMZg2VJXIVSa26MfWOIL/Q1b1ZARjwewfM2K1KDFDL0WADZpw6E X-Received: by 2002:aca:1b14:: with SMTP id b20mr12916566oib.18.1586178703427; Mon, 06 Apr 2020 06:11:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586178703; cv=none; d=google.com; s=arc-20160816; b=aK5Og7wm/NbFXZlsu16YzeIjrYT+ovaXHpZsA5lhAXzZrlhbINkMfs+N0TFngXsJT7 QSPY3AVaxGj2xkqmSBoABTY35Y13E0lpmbvoQoagqCb9yWpjlB+UvwaCfcUY5SW66eoL AtVTDoVJ3kHN2d3isRusan8A5gr1JtrF9c2MNHztolxEgI5AMyEijfGayCSglTkR+Raw 2D7RwGpw+itCvqyw0Gm7kgx0yim8BKYG3YfsINbsgmUDqCkpqjA6X73uyZ/UevEI6T1C cFfuAqWJH07tWObKnfxAG2hqxXZerVlKDAtq8KtIbfb3/23bBuxqJ80ItleEUQLmpzL1 YnQA== 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=BDFe8BdspXl/Hr6m/aHRrBSBiGgATUgcBTWlj2SknD0=; b=hw599zaxzP3A+pcLuwybsl7jUPFQYKem0fQRivpD7AtpSn5h8N2W+jDPg3mx8j8fyN 3e99vJhKm2TP+8aOdKGI4tL/T1d95Eo3+5decLIGa18MwKvN+9yaQ35k0+88BMkMCrgx gKKjlicaN0Fgwzrzb5u+uhJdQyyz71sBxJMuPdjtNkVbw/MZS0DCGlUk7F6L7/ToW6TE LZFVWBwxdC4LGGzIMRp+hSK3CVdSidFGDdlexdEyfFo5J6HBzXoi+fVgotcFgvAYWykk /LPeTjfW22uBMn6/w2H3YYTZ9J0mW6/Nc4PpDiQs2gjutJc71HESuAxbYPCyR293C8ej vldQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=TuuKaCgm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id h22si7851420otq.243.2020.04.06.06.11.31; Mon, 06 Apr 2020 06:11:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=TuuKaCgm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728339AbgDFNKz (ORCPT + 99 others); Mon, 6 Apr 2020 09:10:55 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:36133 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728018AbgDFNKz (ORCPT ); Mon, 6 Apr 2020 09:10:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1586178654; x=1617714654; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=BDFe8BdspXl/Hr6m/aHRrBSBiGgATUgcBTWlj2SknD0=; b=TuuKaCgmOTqz27j89u59rXP1EgL+VBAfrokAmRpALW0uZ6ez79q/CmUb nUyUUOdJy3yeCQko/Kih6yHpt6RUTFlnBdWqAu62R0GtdjmFyOsCwTFjM aIE+DXi6dY0JSzBW7K++4vjAKMqSRt3hjMeEq1rqsbAkre4rahdsHdbf+ 4=; IronPort-SDR: h/W3PBdLYN4jZVt02PzjdCqrgjCNuR+PJcSgkIcUyRw6niSSwCC6BZtYvLYXXoaQyrnl0x1TH1 9pB9sm/8b+rQ== X-IronPort-AV: E=Sophos;i="5.72,351,1580774400"; d="scan'208";a="36894307" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-1c1b5cdd.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 06 Apr 2020 13:10:51 +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-1c1b5cdd.us-west-2.amazon.com (Postfix) with ESMTPS id 0850BA1D74; Mon, 6 Apr 2020 13:10:49 +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, 6 Apr 2020 13:10:49 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.160.65) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 13:10:36 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v8 02/15] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Mon, 6 Apr 2020 15:09:25 +0200 Message-ID: <20200406130938.14066-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200406130938.14066-1-sjpark@amazon.com> References: <20200406130938.14066-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.65] X-ClientProxiedBy: EX13D11UWB003.ant.amazon.com (10.43.161.206) 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. This reverts commit a50179d0e22931032aa56718cd069b0ec74974c6. Signed-off-by: SeongJae Park --- mm/page_ext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page_ext.c b/mm/page_ext.c index 4ade843ff588..71169b45bba9 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