Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp647351rdb; Thu, 22 Feb 2024 15:17:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVhKL/lj4v0BOwxQawc/uFF6m/d6QI6ZvkKyJskJTJV6lNLWZedUdedpWuaqqdrYQ6zE/QU0lIdBhP5jDuTLqHz8HPChh32Aoc4u2nn+Q== X-Google-Smtp-Source: AGHT+IGtJ1iE1A0+cw1pcDHUHlVbkNE9JWYsDqxo+abaK7PFUpls/47K8ngpNmjyNxOF+71jTJIl X-Received: by 2002:a05:6a21:8cc6:b0:1a0:dfcc:ca95 with SMTP id ta6-20020a056a218cc600b001a0dfccca95mr411741pzb.18.1708643833736; Thu, 22 Feb 2024 15:17:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708643833; cv=pass; d=google.com; s=arc-20160816; b=d/zSW5U9gexO8ZBTAcqrK+P8CDMYBRpIWPD7n9cCRxFteHonRSjIlIhVO+bg7fKH4p GJJ96nHZjYfXxaYGRo3Ma8XjfmfjrHuDdRMFaNfw5CbcxhV0EiLN1FoClWMnPVK0MH5A EAW/qwEYTNaNOqX9RvpQMDQ9kcEMlAwZd6Gr9DUHgg6lnyRUbKWKJpUZbnUjGsDpAmXq QAGpwwiaBCvnzSrSwT93bOBnyccBj1LM9uhTl3QXj4C6Bx3MdDZ3wYz+I8SljZvGIw4f y3AR9402YcxsWSNuckLNIuV1JB8TrAKyBswa3iNYXCN+fizZU1yPCkkfHH99++APaCR+ mhbQ== ARC-Message-Signature: i=2; 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=a8k7ZP82tn4JVJwW+w/m7k4EoKpoY9RGrzHrrV6tQxc=; fh=j53ffieBeHmuArQHAkiXDczYOIriM+Jf92hqYE3BW8U=; b=CgwcAIeNFsNUZP4rpsHBuOvULL2j4jql+rf+nxIIAM1A+E9ImtKPQT3hIlrxVuwXZD nOgUYpdI8TOe4tro6lOcOgHqLWD0YlEt97OF5hy5G1sFDsJzGKqb0oUStJrNhcwBsk2F 0IuZTNwnlfkSbk6QXUOS1wNR5frILV8fuSjZfJzbndL58HLOdxYRN3sA6a6lWaWTLaMv rKWXU6wcKM+0c41Dl0M/HWiAxj5b0fy1CkwRC+NsuhCq0Sb5AsQpLR9kOPT2XyqeCQk/ i1OaaeXj/ZvtBjjDaxcjUr02pgYc2IuiioctQSmH0zyr5V4Lx9EvZEFmOuaaeulluwqX 358g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G8zLuS0q; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-77493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mf15-20020a170902fc8f00b001dc392a4348si3686923plb.217.2024.02.22.15.17.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 15:17:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=G8zLuS0q; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-77493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77493-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 66A692874B3 for ; Thu, 22 Feb 2024 23:17:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A91641D69B; Thu, 22 Feb 2024 23:17:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="G8zLuS0q" 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 5F870182AF; Thu, 22 Feb 2024 23:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708643821; cv=none; b=rjZqlmEo79/UOkye/mU6U7oYdryPlUUIs3dliy/fR3kzE8pl2AeuojrT/jvPCAF+3zdSZY2MEwnmFPDZu1Ah6LNLxMbeAwJVbY1B8mdSLQjiqQcbJTSiQ7fgOLtssXjE06+zEit1CcBO27JsDYivm7lIYgfMx1jQ90sxZl7VZMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708643821; c=relaxed/simple; bh=+QW1VJa5kokGOQa6gzjck0l5r4ueQ0qvSvbOj9eLzJY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=tatG+PEXIwnxV6DAfeBasINVrh14lYKxLWSs/L3EfB/R3sJJe/NBwIuuGyxbO1XEY79bm8J5HcOqp2vifCWriohtE/gwQpZ4ypapXiSxRS6e6IiINFmKNfz/VHooDjbOF4MHPmv/6kCrdfnsmy7upQyuKP59OKD4cj1kPzJZCHg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=G8zLuS0q; arc=none smtp.client-ip=205.220.180.131 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 (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41MN1D1E020603; Thu, 22 Feb 2024 23:16:39 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=a8k7ZP82tn4JVJwW+w/m7k4EoKpoY9RGrzHrrV6tQxc =; b=G8zLuS0qr6d4lZUoE5CoDx+OQ1H30bu9JjA/DBQ4WHtPH6Y32oBCFeCUzqq aRECHJ8Nnre0wYkRag/a/bnHEq5di/ZfvzIFt40zo/It/7L/Yo3lf0a0UtEAs7pZ SbKN6b5H8bqSMLS9E5/YsoEbDzUgXoHRkwYC5+EJ2/mG09No+OQvpbVvPio+rs7L 4NoKBtTgW+NDPapXhOFi05jweADI/zkiqUBOSN6yH8dLtghTmF9WdFTRMy56NPQY Vv4A92LdxJ2FBQwkeDpNGUF12C3AqSq78fBdwbCBnGZY3F0qL4c9LQ2ISi/HfvhP Begi0gYT0HyrwE02SVJkWZOk9xw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3we4dq17sq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 23:16:38 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 41MNGbaG027727 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Feb 2024 23:16:37 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; Thu, 22 Feb 2024 15:16:37 -0800 From: Elliot Berman Date: Thu, 22 Feb 2024 15:16:41 -0800 Subject: [PATCH v17 18/35] 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: <20240222-gunyah-v17-18-1e9da6763d38@quicinc.com> References: <20240222-gunyah-v17-0-1e9da6763d38@quicinc.com> In-Reply-To: <20240222-gunyah-v17-0-1e9da6763d38@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.12.4 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-GUID: S-X8YH9UOQhwdKZl5qZ08gJqpUzKbDlZ X-Proofpoint-ORIG-GUID: S-X8YH9UOQhwdKZl5qZ08gJqpUzKbDlZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-22_15,2024-02-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 adultscore=0 mlxlogscore=955 clxscore=1015 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2402220179 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 32e390c42c53f..faa50767496c3 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