Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp545112rdd; Tue, 9 Jan 2024 11:45:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEHTDIh2DLsiTMZ0q9wm4uSbUUll4SZj1vjmN6x3XO3EM5VRn+vE+Ou814tBMbDbk5qUMmX X-Received: by 2002:a17:906:25cb:b0:a2a:1a69:368c with SMTP id n11-20020a17090625cb00b00a2a1a69368cmr584993ejb.211.1704829529019; Tue, 09 Jan 2024 11:45:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704829529; cv=none; d=google.com; s=arc-20160816; b=s+hxp2go2EboGDe7CX/z8ArAA8VLbTlRx+xP1Cl18OkJn3/Dm7HEyJhpi/KT4SEo8G gupMUlcUS2/Qct3veCwAGH/dKS5z8gHke/zkDmOa6zv17rYyefB8JC/s2F/lMr/ByWT8 fLfBGchaEuqwqrNd4lRtPcORAl3UbgjgwRUx3h04LFpSnQJ77g9Ec7CNT/ExjUoNRNDv fU9WmcA2xLInpQRTDJQi5rWw7+5M4mZiDT5TP7RtqUacIw5AlNCsJy7LDi/DCI24bWSb 7A84w+2YGJy2eZ2dJNe+5ms9X0z88u/r5F16X0xUuRLL32E0CYwxJ44dzpqp6UpQfMrf CqoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=20kzljP3XXAHh/+L/ahQqYgdL0v1bIu2bkQnV2tNRHs=; fh=j53ffieBeHmuArQHAkiXDczYOIriM+Jf92hqYE3BW8U=; b=E5TMTcmx7rV0DpXdvYKoT6De+cldkEMLDE1LTmNYU3H7GOUm4Kayg6zQ7kwBEuEaKF F37n7YkFseoefBs4KAPFY4v+IMKxU7x/DnbryyWliO5w93TTgQpz0BYEyZOM4sPg/T3T mXXd1aWXiZuUhxktZTIvnVN5iftjocVJu/H3fg6ShICyFfqS75+AQ6IB/N6hht4LxZWI dvaEpianj03qvgXsSq7P9GUhkLL2TdPM/vyWjfKnTzztuqeEC2gim8ja6kN5E+u2bwHl vkLt2XPSflW9PtEOsyMAK75+It9dh1w959Lhuj3tYmfNh0sr0ry83VM24j8Cc2QbbF/8 t59w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AiafqSiO; spf=pass (google.com: domain of linux-kernel+bounces-21348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z10-20020a170906074a00b00a26ab916409si1071949ejb.138.2024.01.09.11.45.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 11:45:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AiafqSiO; spf=pass (google.com: domain of linux-kernel+bounces-21348-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21348-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BDB9E1F2A310 for ; Tue, 9 Jan 2024 19:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47B61482FB; Tue, 9 Jan 2024 19:38:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="AiafqSiO" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A38A647A5C; Tue, 9 Jan 2024 19:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 409HCxfL023212; Tue, 9 Jan 2024 19:38:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:date:subject:mime-version:content-type :content-transfer-encoding:message-id:references:in-reply-to:to :cc; s=qcppdkim1; bh=20kzljP3XXAHh/+L/ahQqYgdL0v1bIu2bkQnV2tNRHs =; b=AiafqSiO0HLbkygtBVeLwn7mIJx2BHAqg5lrO/Svn163jQjHcOC+xb+nDCU esyZXhvHXB+EesuvfQpViRbZglB1ZkjSAI6NwKbyZMXejIqF1jU1hCC2z2tKdFE6 0fpLOKx1un1Yv2B/InIyqai+BVTvbqaCN+hpyR3SoCAAT7GMVx5MjkJwcoZxTOeL aezOfD8xmns8GLptJ2YxwyKx3dz/jXSJrinbMVNNM6qUhjDS8Ayf0pyobLMA6wHp rEzS5vPq7faeJMINDxn2XwhJyEkGhTOfdUhw827Bv+sUYFXBlE4W+LIXCl6/xuct KMdyls6U815cKX5NN/fsHp+m7Fg== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vh98m8hrr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jan 2024 19:38:07 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 409Jc6SY003533 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 9 Jan 2024 19:38:06 GMT Received: from hu-eberman-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 9 Jan 2024 11:38:05 -0800 From: Elliot Berman Date: Tue, 9 Jan 2024 11:38:04 -0800 Subject: [PATCH v16 26/34] mm/interval_tree: Export iter_first/iter_next Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240109-gunyah-v16-26-634904bf4ce9@quicinc.com> References: <20240109-gunyah-v16-0-634904bf4ce9@quicinc.com> In-Reply-To: <20240109-gunyah-v16-0-634904bf4ce9@quicinc.com> To: Alex Elder , Srinivas Kandagatla , Murali Nalajal , Trilok Soni , Srivatsa Vaddagiri , Carl van Schaik , Philip Derrin , Prakruthi Deepak Heragu , Jonathan Corbet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , Konrad Dybcio , Bjorn Andersson , Dmitry Baryshkov , "Fuad Tabba" , Sean Christopherson , "Andrew Morton" CC: , , , , , , Elliot Berman X-Mailer: b4 0.13-dev X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: PfQLvqRZVKjSZRqkcN_pgu1hNdjTZdHL X-Proofpoint-GUID: PfQLvqRZVKjSZRqkcN_pgu1hNdjTZdHL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 spamscore=0 mlxscore=0 priorityscore=1501 phishscore=0 malwarescore=0 mlxlogscore=819 suspectscore=0 clxscore=1015 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401090158 Export vma_interval_tree_iter_first and vma_interval_tree_iter_next for vma_interval_tree_foreach. Signed-off-by: Elliot Berman --- mm/interval_tree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/interval_tree.c b/mm/interval_tree.c index 32e390c42c53..faa50767496c 100644 --- a/mm/interval_tree.c +++ b/mm/interval_tree.c @@ -24,6 +24,9 @@ INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, unsigned long, shared.rb_subtree_last, vma_start_pgoff, vma_last_pgoff, /* empty */, vma_interval_tree) +EXPORT_SYMBOL_GPL(vma_interval_tree_iter_first); +EXPORT_SYMBOL_GPL(vma_interval_tree_iter_next); + /* Insert node immediately after prev in the interval tree */ void vma_interval_tree_insert_after(struct vm_area_struct *node, struct vm_area_struct *prev, -- 2.34.1