Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1338795rwr; Fri, 5 May 2023 12:31:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sJuip54zdv/2tLWrf3s4e9PBxSYoobkHuskOSCc37A8et6WT4HxImsCuU4Atxt+DW4SGG X-Received: by 2002:a05:6a00:846:b0:63a:65a9:10db with SMTP id q6-20020a056a00084600b0063a65a910dbmr4661864pfk.7.1683315060563; Fri, 05 May 2023 12:31:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683315060; cv=pass; d=google.com; s=arc-20160816; b=kbQf/kwq/iQZ+1kMlkkULxlceVlYjdWAGzRpFSWq8VyE+XCZW1ctsEz/p7QleUEvDc gN0jJUskXlx4i6FS73hHklVGrmSWNn3RCSJWz8KNjiB83uIBEnwaQlp0Ir6pluj1eFmf MKsk6fmWTM/nPzwLCcHit1qjJ3TxySBJAwZysl4RobNCVo9ybp+svKexPz1eI3+6KXH4 mC/+BIgK8FZyjzOm9Cxh6HqJ7wPRs1sclZxwfgZno4EzOTnf1Rl6luVSGmp1sidaRs04 /8iBBN1QKQhAtXCijpbBeGljYG/Y/Lx8L8Rc/UrR+fbfYrCaynIeaoXxLRdfUSjc2RKP x0OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=Gf/8bP5/7Y00ZHHg7g7YJwogjH7fdNlLAETXhQj1hlo=; b=t1boYDUHijq/tC7rcXkPI4vIKqcvH9Gtn1cCh+cJsVSUZr1Zyy9MgTB8Qf4ZulRNCK jV+9rN7qFJBurcDuL63KHoPBVG6kVVGQZlyQoPGfVUo75M5BEuQ3k4Bdi50w0DTEaVoY 4tJKCs/yDj1f1z6eXTGN1PX/OeCt3f3Xt1J05iWkj8Rzc49Nv2R1DUzBUXleaVIi8vps 4YxGGhJx8u6Zc97OrxQrHTDyjao/jPqVhf74cDikh92xFXaop7gqgZooACvRXv/TJSWS ppp3fFnynPV9MAohwpEz456lL5iSKOOEm5OqcLKZQD/cE5951OfO2ktQWeK2TwPDvXdK 4YMA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=JRz8UCeQ; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=nnW2+GK9; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020aa78423000000b0063b78674625si2675921pfn.327.2023.05.05.12.30.45; Fri, 05 May 2023 12:31:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=JRz8UCeQ; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=nnW2+GK9; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233286AbjEETTd (ORCPT + 99 others); Fri, 5 May 2023 15:19:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232937AbjEETTb (ORCPT ); Fri, 5 May 2023 15:19:31 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40DC630F4 for ; Fri, 5 May 2023 12:19:30 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 345Hh67X027907; Fri, 5 May 2023 17:45:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=Gf/8bP5/7Y00ZHHg7g7YJwogjH7fdNlLAETXhQj1hlo=; b=JRz8UCeQg/lp+oANpW7FqbF0I9zKGRTP8PtjhoNtTIrlyhIVNR9nDw6e3x13bAxDfh3C /rQ7Y//Uil0gTmSZZhUqdeP4Y/Bl2IB6+D94SO+gybzPza1koN3dnMYATK+BjzQ2qqWF VYNc17/7Hhel51DxW4VGUv/6TjxftC6krX3NSBRehUeTatszuLy/Q9X1oh1OnStTL3PR sM5XfZ8r5KCV+FfCb74R9UECDXPDEslGZ5iN4dKoUQbA0VnNclkRt9epdVl4n7VB4Evx MfjWtWHcfkVKfqiLOmlXOmF5043SfG1vPDtWwBRu3YoLM4lilPLpEvOSPoPru8s+yDB5 2g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8t5fwf4y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:45:05 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 345HeiVr027286; Fri, 5 May 2023 17:45:03 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2108.outbound.protection.outlook.com [104.47.58.108]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3q8spgf0g1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:45:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gtQmmrVgCPCqKBM/Mwk0PMjZ4mj1giX5kBX+WRDUWzd17cJ/lF9F9u3wErvKVPGiQpnqUfXfyqchO2rRhHicy1QYLbCXFkzDVpi0v1XQkBLCXOc9lViS2XOGJPcLGjhe3gvHULPxumyAyFdxM2uGqYnBeuXdzKWLkZYDlgRfsTn+xXiIsrY3Dgg3mVljJ385p3K1DKU9Iqo5rsQe7v8n7cU55m5yW273fxGsJLzcUU1u4cbLTaJjX79VrCIQKl+8GDcd9z0i34R6mU1JpzzzrEA8QPyCQLspropNckd51ajsnADKQQC+oSSo/ANi395HhkEQnu8CORc3PIVVbUUbRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Gf/8bP5/7Y00ZHHg7g7YJwogjH7fdNlLAETXhQj1hlo=; b=JDam4/Y2nmBCagYrejtejkk++tVJ1cEikUm9d20H5bVrpvhFA+Ne8XwKF8nWyKznCf6Uu5Kcb8TrYMywdc5OUQmqFfoqeWfewGzVXXLy+2CU+htpG4+K9s/kcgUi9yIsziVDOcDY24wvMiOE1P2TsApzMLGUTv8jvHpEyUJorjw767MgNjhY36yT5YImSgvCEIeL+gnHpoXTbX4YwudbzxilXqYLOxR96em0I1LcQ1E1kLwu5uOS+G2J3LteiFN5HRvBM1mLsEXd2YYq73ayeXLGtPCImv4q5Ag92i2mY+bx5GpW94Pp8STjKWjMTiXPJmHl3SJ9JwvxO73K1sdhEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gf/8bP5/7Y00ZHHg7g7YJwogjH7fdNlLAETXhQj1hlo=; b=nnW2+GK9jfDBDBrdAOcai6p7rIUKiwAg/sp9DMWUJA/hZYNGv7w3a6pOrybqConfkVvPsoBxEsCsYBgc3tS6U/S3dcClDPH83rxcSvR0OK+Cw+xGKwKd+vH+xy7Jc4ORk3SCRrA1LB04bNv6JsSNduHaaINWivlUEiDRWTKzSik= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by DS0PR10MB6895.namprd10.prod.outlook.com (2603:10b6:8:134::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 17:45:01 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da%7]) with mapi id 15.20.6363.022; Fri, 5 May 2023 17:45:01 +0000 From: "Liam R. Howlett" To: Andrew Morton Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Liam R. Howlett" Subject: [PATCH v2 34/36] mm: Add vma_iter_{next,prev}_range() to vma iterator Date: Fri, 5 May 2023 13:42:02 -0400 Message-Id: <20230505174204.2665599-35-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230505174204.2665599-1-Liam.Howlett@oracle.com> References: <20230505174204.2665599-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4PR01CA0179.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:110::11) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|DS0PR10MB6895:EE_ X-MS-Office365-Filtering-Correlation-Id: 082fbb04-6bb0-4457-c301-08db4d9073de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c4R1AYLlO2HIgmEZqnf6EzgJ2slSoP+fJ3gcm4v4I5zjNahTUQIqLbKy08M64xj24dLofEoRAtZLuCtcTxBX73XgCwinddV2kFxpdRtjyFmhQ0FaA4LW6Pz0qZzLG0Au4iv+fohUYyQtr5B672p3hVHVQ7IuYGbqAW2hPI85XtaCjyz3tSytF9265yofPBIeqZx8y3sk+Yo0BJ738p9upQipcSiH+zrwXqK2o/SW/s4sXooRu3v2Ng+kER+Fh/RgdELQPTXx0zo3C2vLdCaSsfG23xlk5vroT7kZP/sZPhhWlgNa1nlQFQq+Ik8JMUntEbgg9ja4HO7Y5PihaVmcNkMwiZyiUUaFyTu9DFiwRLdz6sSqOdBChvB8PyUy4gwBVVoxnc7pDTZ8QuPK/DRZi3ozEN8k2o17AYUITZjfZOmCg3x+ULaWbURdC66kAEg2av65327ZW6+laWkMlh28yo1ETeW4auNr0FTaf3n3h4qq2x8gSRO3UMb3Q9EQgdlvas7YsQBhmL7r3K2SFTu4JAd928hDqHzEAPG5OJHK8exfFZrDe60iG8m/No68lGDX X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(136003)(376002)(346002)(396003)(39860400002)(366004)(451199021)(4326008)(6916009)(66946007)(66476007)(66556008)(41300700001)(8936002)(5660300002)(8676002)(6512007)(26005)(6506007)(1076003)(316002)(478600001)(6486002)(107886003)(2906002)(4744005)(186003)(2616005)(86362001)(36756003)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?BbyZIeChTMfgnh+JEP5QMP+A6jyQlk0gCGp3nBzGw04/W6r3pVCS8RhHB2g0?= =?us-ascii?Q?EByFSrhs7+6KU7fnQMt8IO0z2MnZYjcu98NQw2T5h8xpr1b+IhvkRjLChgCl?= =?us-ascii?Q?lMYFA1SLvPs+bJbxLGsuL2MDo00LisrDMt5OaJifofXppxDLirW/ZO/3Tv/T?= =?us-ascii?Q?5MRDoqP9Z0MBdzT147C8Vw7ix5g36307ee5DE71joGnmK7PCJMBz1eZf3vlR?= =?us-ascii?Q?zT/eKTNj/APvUkZtkum0S4al9fYBmQROwCll89sD434t6S1w1phCFTjk3Etn?= =?us-ascii?Q?8FYE7g0mw8wTlBitLdL50UB74dUyHeiYDjnTX7mWY2PcRYVDfF+7jct/3bBs?= =?us-ascii?Q?YR/1tP2qjDYTVHV3MaJ700TE9eZEMOsCNrv2xpqN+GwnZRD2+FUos4mUPx/9?= =?us-ascii?Q?U4zYMFK8aEvdm/SlJjIqjSMZMhblKMmaWhu8XQrurm8ycQXQXBIDtSyIZPHw?= =?us-ascii?Q?+2Fi2B/NwFfVn/dpu7UU9npMnH7tpXOZmM+E60met6X7QMc2dR0MWhZ2OPS3?= =?us-ascii?Q?qfdjjMwa5cqMyQyFyl3qpVZE7VWNH1OxLkDzIt9IFSxWTy4h+1SH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2zRRzF7V2KmD31jQ4BqZfBK4uMi3WP4rUeQh3qmXaujzHhru40ShtUhMKcAMubADKa0LgMsFOhsl1de2dqfldjUEzMl9y3FVF0qRwMF4k5O0Z1DjFsSpQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 082fbb04-6bb0-4457-c301-08db4d9073de X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 17:45:01.8708 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Vz0jVpvArXQLicDcSg4mtkr4MZ8mq+xZQfljJ7ZYQxMLbcNK99eXgS/uYna9+kzEPe+COd7z2z564Ab7FXZnyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR10MB6895 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-05_24,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 spamscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305050146 X-Proofpoint-GUID: LpADf2_88rKRJitF-YBJwtTXkl8Bpr2S X-Proofpoint-ORIG-GUID: LpADf2_88rKRJitF-YBJwtTXkl8Bpr2S X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Liam R. Howlett --- include/linux/mm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/linux/mm.h b/include/linux/mm.h index 7b1d4e7393efd..1bd731a2972b0 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -866,11 +866,24 @@ static inline struct vm_area_struct *vma_next(struct vma_iterator *vmi) return mas_find(&vmi->mas, ULONG_MAX); } +static inline +struct vm_area_struct *vma_iter_next_range(struct vma_iterator *vmi) +{ + return mas_next_range(&vmi->mas, ULONG_MAX); +} + + static inline struct vm_area_struct *vma_prev(struct vma_iterator *vmi) { return mas_prev(&vmi->mas, 0); } +static inline +struct vm_area_struct *vma_iter_prev_range(struct vma_iterator *vmi) +{ + return mas_prev_range(&vmi->mas, 0); +} + static inline unsigned long vma_iter_addr(struct vma_iterator *vmi) { return vmi->mas.index; -- 2.39.2