Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp578023ybj; Tue, 5 May 2020 04:12:00 -0700 (PDT) X-Google-Smtp-Source: APiQypIJt8wAYd8X96vy+y52y/U9RdfD7n263WmM4EYqiUPqdSymdr5mxcxJGJSIX3UF2etgtQrR X-Received: by 2002:aa7:dd14:: with SMTP id i20mr1961712edv.225.1588677120733; Tue, 05 May 2020 04:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588677120; cv=none; d=google.com; s=arc-20160816; b=JYMpO02SsfgXZJwq2yBhkHh77cpWburGouz8sFRkvCtZ4OWN/WsWTDYNAIP/LActoZ Tj3Vz9eYJHFLeiiu15oQqgFqsuUqmB7U1CmmkVyMtjx4P87Z0n7s/lVmPtnTaEcGoq6N vOKW70fH7AY1VefRLciLi6fi8ccmpx9zs8hx0GmMR1zeaxi0f5D3WRdjuP/b6lYhC7Z8 xGe31fUiOWpvj658FtmXyXjotnvt56Tr9es0SabWmBUhL5pjwWUfOeqE2ig7iFQeW6U+ RTE3zRQYNpW3U+GlL0t+rwubQtsfLlmRZ1NRqasyjttieSJDkRsdOZzO4X08yDPJ6Ku6 TUnw== 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=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=JFfFHBk85VHUxM303NHzYI3Rf4Go5bQeTxdKwVf0htfU5knHzRvxqgzxtdSf8d33qo Rid2/p60rsdsRudM05YF329ZELrBLzIellMYdTK7j68U5PCtM/kld0Gr9iyFjMKnmtoz AW0qm+lWpY3aC9ApDTRxqEhqRazuO1EoJfwx5ipGyU8ijJ4rxe7UGjaWifdIUWmx3hbt 6qUf3vpsFPCTgZsT/Lg4pOh9MTHpymlOXA0nWDezKBexdsKyvr81GJM1/AVAgBTxS+tT tC+qbsGPp9WyP1BwLe5QZiTzRcKU+JQuFVEAB1yq4Ie2HfnWSxLXzfXR1bMfPaSZGoXl byig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=LBgZ5L4z; 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 q7si1242615edt.339.2020.05.05.04.11.37; Tue, 05 May 2020 04:12:00 -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=LBgZ5L4z; 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 S1728736AbgEELJp (ORCPT + 99 others); Tue, 5 May 2020 07:09:45 -0400 Received: from smtp-fw-9101.amazon.com ([207.171.184.25]:2351 "EHLO smtp-fw-9101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728584AbgEELJp (ORCPT ); Tue, 5 May 2020 07:09:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1588676984; x=1620212984; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=G8CneijCkhkmAYrW5RLVj9rtVs0AB1S5RMsQ7jnOqO0=; b=LBgZ5L4z5+6SDMbgppa0/iffMmS4vQHpx/i79Eoq/Mi4akSAZ/EcZTiC nPZnu4Ork274505XTVxj66OQM16POFeGEd7x/WzGR/uU6JdPnkYs67wdP Kb6rvu3ym0y3FKFZjuLeLMUzSRkxpgjvp7hy53QWYoOQAEyIxlo447Y9i 0=; IronPort-SDR: Z+1x4t+fJpZlkPe+iUdrCADyZ6K/A56bGL4rfiX9/WEqvsdm0/no2lhuJip01WQQAsrpyFTkFD cW3ZSIwvcUvg== X-IronPort-AV: E=Sophos;i="5.73,354,1583193600"; d="scan'208";a="33011968" 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-9101.sea19.amazon.com with ESMTP; 05 May 2020 11:09:44 +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 259F3A1BEF; Tue, 5 May 2020 11:09:42 +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; Tue, 5 May 2020 11:09:41 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.160.92) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 May 2020 11:09:25 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v10 02/16] mm/page_ext: Export lookup_page_ext() to GPL modules Date: Tue, 5 May 2020 13:08:01 +0200 Message-ID: <20200505110815.10532-3-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200505110815.10532-1-sjpark@amazon.com> References: <20200505110815.10532-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.160.92] X-ClientProxiedBy: EX13D35UWB004.ant.amazon.com (10.43.161.230) 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 --- 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