From patchwork Tue Jan 10 18:43:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liam R. Howlett" X-Patchwork-Id: 41586 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2914482wrt; Tue, 10 Jan 2023 10:54:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXtHbKp/QKp5VLS+4kIgWHel1Po04YicReY8lLHz4DT2vuzM2KHhVtH4/5XLTmn96Su+pjKY X-Received: by 2002:a17:902:d887:b0:185:441e:2dda with SMTP id b7-20020a170902d88700b00185441e2ddamr88799143plz.44.1673376878392; Tue, 10 Jan 2023 10:54:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673376878; cv=pass; d=google.com; s=arc-20160816; b=I3GKEv0N4Aos6MSJ+YdN/89HVI6tydjABReP3eOsJX0/RyVtsJKDAuwRfNHL4ICY/e ZtYWl8UKoUInHUV6rnV+8/PrU7i3+6sco3dISmFvMWm9T7SenjTOL1wAdLLXVqgkSBr4 Jfl4Qeo5xGWlGcZgYBXiJ+6NzpKlVGKfR973OdRy+ZylMHxVYyvWxmBaApv6ivY5hhCa P3bHjD+c7GzQpQf4243Z0FcfVxA+sezplYxoa8Q24Gz6mAHBgE8SFneu91LtlAmf5jAL 2mJaEeMXyTVcN1QH2oRpF9isKjRiRzjJSdDyE8XHjS/mSP5h/g7+tPGi8hcePBlWtlPr P3Xw== 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 :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-signature; bh=AZOyKgQPCBaWMP3kkAq+kuDMgEDEMIYsiCgA8gK2ApY=; b=pHAlC56vxmt6ypLHE24l/KmVTweriZgmDSoBZXFdp0tGnTRdMiW7jQ2JOKbRBrh/eU zlqpzKZGbtXubzpBbRKkx3us7vRffY7EeNXvh0eMgf0fLlhjH4gOQ3ygVO7rE5TZtWkJ H/DSegtZrB4Z7gMTGPVSOr8XA1MKyS3+N2Nx519mZuTgWD9IKA7wfYvzMMNQzt+NQ3/Y CuL1TEwCD8SksanfY+GouuPk4GpV7PIj0zUX1KEbWZbeL7sBpKmqwP4K2TXJRyNeskw8 1k5MUVMQ6pDjth+czWyDlfleESBk0qyP4QL4SmIO8jYNkI8fodx/GCXJEh2+rr4fFR5P vWPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=p9ZLNS8M; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="oXdc/RO+"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020a170902bb9300b001868d5fc29bsi11373972pls.259.2023.01.10.10.54.25; Tue, 10 Jan 2023 10:54:38 -0800 (PST) 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-2022-7-12 header.b=p9ZLNS8M; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="oXdc/RO+"; 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 S233953AbjAJSus (ORCPT + 99 others); Tue, 10 Jan 2023 13:50:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233326AbjAJSuM (ORCPT ); Tue, 10 Jan 2023 13:50:12 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 503AE7F8C4 for ; Tue, 10 Jan 2023 10:43:30 -0800 (PST) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30AIIFw5006638; Tue, 10 Jan 2023 18:43:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=AZOyKgQPCBaWMP3kkAq+kuDMgEDEMIYsiCgA8gK2ApY=; b=p9ZLNS8M4d/4afRuxonggX0eVLZFSz60Z0NtkiiMDcP4sk1K41qVOPJDCylmSyYGine5 ofkFhE0mpg038CsJweosOjTOKEc/8mBK5P05c4pT/UjCiwK4tOpIm/Ahx4m50+FFr3ee a/jBSKifHcNIvGGDtrYIFGiP4SCa443u9LChDV89TOVEEveVGUiGT3SgAIhPtGLYrHZd luTIpTzOhIz2cJkkNYufVQMqHXp976EcJNe8A6nQpNZXI4hi7nsqUo5qNklnddoMUgDb y3ftZR7W9mZRK7NpzbRFMfI5cwBrSi0bBIosj0gpLlgKVT1y8+tTv2pchLQQ6tWD6fGR pA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3n1cbq869c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Jan 2023 18:43:23 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30AIISF5015328; Tue, 10 Jan 2023 18:43:22 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3n1d6ch1vx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Jan 2023 18:43:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kJgtxBIHAshRbOsT8KEsQpCoDriPaokpKs20IjX4aa0TOfrzBUMBUN+nNOzI5124mQP+rXSUVElnHToIFVZLBuOox0BCxMz1uUHJHvUnzu1kmD59qaCAOMDiRu6DcIokBgZgzJ2OXJjF3rQXf//NMQLs2EJj4A/ykQvHTQwPtNsTGBkseVn0JLM7/jepvHdIKGUW+uYCaWfzTuNIgscR4B5EHobDp3+VOPLXd1nSBwsXADj0WJDe3+2kffQA2uies2Iu/6433HIxRDCukzp3CsCWaVysDc6MjTyCXNFaokhTNaVN5SfV4erCihDVtLRxGTXtFN7ydXtbYJxo7GokUQ== 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=AZOyKgQPCBaWMP3kkAq+kuDMgEDEMIYsiCgA8gK2ApY=; b=jy2bWo/aBms9Ay8i+VdZ+pYPUINDhExCf1ngTDMrJaxtWTPDBdMSZxC8uuCvWGKw3bZBsE0Kl3ZbW1Uq2LzJs6N3h2gFTm9XUUcrjgOSpRi9wYNjc4fwDhhQ8ui22euLy1O91O0y7HGj8UR3jij0s7ks3wlRhJjP44GXXCn8lZYdVJLYRqJaKQtrTmuXHvDObNvOOjS5M7wIQYf0n2v5CO/fF1zMhIMQtqYjD2VXUwcAbY7UJOsDf9FEh+ibtgYW1dVTdkO190WQI1qTIxVC7gSwd/pGp6UxQFplwslZ6X1giltFBNLaa2M0y0QDpRe9lXJ1OHD+cihFsohtA9z28Q== 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=AZOyKgQPCBaWMP3kkAq+kuDMgEDEMIYsiCgA8gK2ApY=; b=oXdc/RO+MPUh9esgTRy0gxDjvCDb44vhOwWb2Pxqlv/WGrLprbsTqlzGmj9Uddpj8D61k+EQDQ+UrVwMqjimE7lvTAU9klh4G2MuFi8I6+tvSw1pf+IK9G52+hadzw1v/97SJa8IsZQhmqXrPdCgZYtng9tFEULbItbUpkZFiRk= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by BLAPR10MB5297.namprd10.prod.outlook.com (2603:10b6:208:326::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.11; Tue, 10 Jan 2023 18:43:03 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::a02:2ac8:ee3e:682]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::a02:2ac8:ee3e:682%4]) with mapi id 15.20.6002.012; Tue, 10 Jan 2023 18:43:03 +0000 From: Liam Howlett To: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , "maple-tree@lists.infradead.org" CC: Liam Howlett Subject: [PATCH] userfaultfd: Fix vma iterator conversion. Thread-Topic: [PATCH] userfaultfd: Fix vma iterator conversion. Thread-Index: AQHZJSNfPVijqOTwG02AmHpqei9IHg== Date: Tue, 10 Jan 2023 18:43:03 +0000 Message-ID: <20230110184247.1268710-1-Liam.Howlett@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.35.1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR10MB3022:EE_|BLAPR10MB5297:EE_ x-ms-office365-filtering-correlation-id: f797348a-893a-4d3c-b585-08daf33a81b8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: in4blpwejbZPWfrSyfkXm4i5a9eU9FP62pGxKMtkJVFXq3IkegrB/wJpnLKmYM6gXvznP5lSvZaiforZHffp1yZvUqFtjJ82jLX4PZlcCTHkpnTjsHuitybJBXvN6BKkcwa3GBgTRpURt8+8/KqFSBuA3ls7y4ZiwFxutFmiVgOBiGRqd3xKw5344ArlbEMVH3FU8jsydezYm3GyXx8jnUzj8gZq8w2EksiTVq9JNiI0d16Ceh1UGfBlhsobz7AYeYgOO7tEzJ2oXC9RutOt4mAsKCUkSzm4Vah9SGX8hCwSkS9Av7IHoa4ad+HcpSKIMbP3K5LyvMkk8A55mU+FV/XkEJizjfH1sEtscxv+njf9jnHiYEt3AKESy0p1jgrTTSjqNp4t0aKpwQm+yBTKEaYxxngoMPbRi9qYsft7RPzM+u+BmQPACPruA3dFseplafIFqt3qS1ji7PjS7IIJhi9eIH/SUR89gxD7TIMzjgTBHaOf//uo2EZlTECPYaW6/6r13OAgJWVGJVhYyHsolZux9c95RPtFVi3tuL7+1CzEfyvqdQbqOZYpI/Y51TML85JEB5dryrItaURbEUUDDPyE2mTMUm/+Wv3VIGt1aoblK8DihV/BRIh0/j37D2Ya230fzEDvWgvBuprZl+5Ixqpa1vEjy8b03aeKkbtgh1dR0ZcAWhFFnNMYTpGdfNQqZtz27oyF7AwleTW7YV4x6Q== 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:(13230022)(136003)(39860400002)(366004)(346002)(396003)(376002)(451199015)(36756003)(38070700005)(86362001)(83380400001)(110136005)(107886003)(76116006)(8676002)(66446008)(91956017)(41300700001)(66946007)(4326008)(66556008)(64756008)(66476007)(122000001)(38100700002)(478600001)(6486002)(186003)(6506007)(71200400001)(26005)(2906002)(8936002)(5660300002)(316002)(44832011)(2616005)(4744005)(6512007)(1076003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?UxZcKbytHDl6lrd8Am4hlY5?= =?iso-8859-1?q?WgFSdr9yxQO7ccwSsYQ6bcG4z5hcYfS2mt3W3dEwc2bWLpfNnSSFYYhrhpB3?= =?iso-8859-1?q?I0haxxTUZia2Hus+xfFSa5iYBvK7luxlggkS5o7n3tVCqM35Z5TZATEkY2+c?= =?iso-8859-1?q?n8oJ8XBZMVRYGxvaDs0GNdsRjv9B6HBJaxBdX+b8lT3UVtSv0co7Uv2cl7Q0?= =?iso-8859-1?q?LoR8h/Op68Qfo+b2UyQL5J62fl/0c69ty6oMoreEMHOTJMpAA0grxMN5oAIp?= =?iso-8859-1?q?pGCh66ESZzDLlduSMGIVhwVEu5VrmX69ov89ESytmX83CJZIQMzdkS1L2ZSE?= =?iso-8859-1?q?mNOVFDIKkw4JZhnDSuSX4QG5n+Pp+wF3U1Wykcd3MEdQrZ8LbsOMQwfJpTN+?= =?iso-8859-1?q?3FZxQ/p28XOAy8LXLozL0U85RS2a7xiE4oeKfmQoQx0ddvWdCkL329/Wx37R?= =?iso-8859-1?q?XQZGjdM6DNuvDPEYxuTKcV5Nm0Je5t8YLR/wSjd9ZVeiVSFmktzTi+nhvdhx?= =?iso-8859-1?q?ubZzInOMsGOE9eqayXnefW7YLJW+YMbfaTlLCXYV5d3mI/RJ3fyhlSHocEka?= =?iso-8859-1?q?7tv9lWPu4hNZ36WUUCudIMfmhGhqS+eKAzM836v3xjQybKN0G0QWQy/01IiM?= =?iso-8859-1?q?+38EaK7BjDx3dToBQfD5BsJfW9i30QBBPa2NnZLETeRNOA/pJ4s8XYfy6SV9?= =?iso-8859-1?q?fbj1dotxcG5OnFlXMUwhhBNOh2vvzGQc20Ud55oOJ3q+8CTW/zITLHHpCvnC?= =?iso-8859-1?q?awbQMRxUGQPeabU2NY9bsXKI3Xneweo/qCTAhVBPniFbmTD7o6KX8xqG1r8i?= =?iso-8859-1?q?OXBkoVfzzlazUeVZrK07PN5uqG3FVsF3PSK+t05VrYrXtepficKYanR1Zgal?= =?iso-8859-1?q?d7fBz+9NkGou6tZCwzTsoojsNPXYiGq6p3fctLy1k9chlkCr5uEuLhCGgvZm?= =?iso-8859-1?q?i12YgBv2RL/WZgCKPbTTkA2BMTDBVpCKtaiUkkNg5Mn/sR9fOM/RgDkjEOKQ?= =?iso-8859-1?q?OuXoTHCnKSn9bKYV51kvRb+6BHOrM+sVYqDe2v5shi6CjIYjeUwEn8NYkjBI?= =?iso-8859-1?q?HQazjzCqgP2GFgH/60MkSONgQl5RnunvXcNDPNDyx7z1XHufNoauaPnuWnp1?= =?iso-8859-1?q?whtkjnKisXHmp9XYHvDpqbgxM+RsKZjpNnVRfr61OlKhrF2XYbaxROS9+AmD?= =?iso-8859-1?q?0rAaWjpQb8gYqWgM/558+NIe+vVCmrV0f8PJER1s7bPJafliE3xExCkIzHS6?= =?iso-8859-1?q?dghi1lZ1qodPhiRCAWncm6F6kzkZegWCoq4utqxTqhYig31VI/GyFLFQR0qg?= =?iso-8859-1?q?/DKe1NXwlflLyR/Vi2wyXGV3xYeZQQCKzfcvdSioxgDIPEllbJAJBOYNlp53?= =?iso-8859-1?q?ex74YAodhVg7qd+tBHAzhSCtsxWwQpYfK1SGHLpZ9y3dvS2gdvei90vTtim9?= =?iso-8859-1?q?paiTHKJR9Xc36t5V9YN/fF5p/rVIOP9Ucmnv+/+iK4lUKq0Hd3HuH6JCXWco?= =?iso-8859-1?q?cFyaAfv48BAkEV5P02DMuNCqHEXbTW6ikl/RbUwjLUSmdPfY7ai0V8R38DyV?= =?iso-8859-1?q?TJ3Ov9I5nmrFpphdOQdd0NBRJtzxHfdNgqfktn3DBYMb2lSsDF5oGBSndDWG?= =?iso-8859-1?q?3FeVp9VZx1PfcZtdlRfgvljNT/oEWglDYjwLW8g=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: ABV5Cx8Jzn2ox84R2aCVx0WYQgqssp9W0w+ius94gqpC7C1ITQXXR09tlKbU2VU2geWWTxOAnznz23P7VlTSLQOODaqvgDG6wYUek/2EP5xp21vBMU8DpFtJZRkpr9oXStQFY8e3M/tN6fALzW0bj6tZG5725ImwBEMqx4weShXcAnr6NsjnTy9GgCj7tviOeMrYZK1yTCoysQPI3fBXdaWtwtqBQ6Kufa1Pm7znwhNHd9eamanULSeQZXQa9QjFMWW/vpEdI4AsS7xW3oZbBr7C8fzEiwZQ/vbtGc9iWkoZaz7KtXktNV4b9LO/q9Pol/7HCLUjg2fbg3STX0qXCcaIlkqlIwvcCZZj3l5Ru1zYWfJYvMTM/RtthuNhsNsnHyMCQbr75RHVyMbLQlDKpPeZaj+2PjgJa8/huvr0fzGda0hCv7lig1F+fO8ELVOH+Nj4X7F1M796Ri1fXmanYJcHhq394oRXY0Gh6PR7o6hUzlf/6dxyiWz8ZUQACzEtMS7aG/0k1Z4Opc7jnuvC9X/T45UYgqkB2x19h1RtSc+XgxBIDGU4gbHOhLdz2CXLexq6XZC025zAbNYu1oImWJ8aXsxinWRI+Km1a8Weabe/8ZeYOERh53vMRcho8yxBXRG02yptONlVsb7RTO4bpD2h7aK+5wAlNbmmg5NRoH0hpX4INZpKrQiW8xXxz7ONvsakhpyUOrl0iFdXm7XaY84bFdEfTSQ2rc8HUGfAcqWB4z9K2VwwRITdebYAew4hMsMr+xKsvq9is3M2BrGCfD5siu0zXMgsVtppyUqZa8hrVzZWRm4m4h/pj368lilFMQTV4FrSpYQVIKD64+kFDT/WtcrV0MMroWrvz4rDPnw6vy9UnWGf273c8YN+Z6QL/T9G/i5eq4Lvio3GFvGj3g== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f797348a-893a-4d3c-b585-08daf33a81b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jan 2023 18:43:03.5896 (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: RRb3YSBO4b59rexE/ae7FAiREuEZ1NrRvEvaDg9Hec6Wgf/KhMFTHJD8tFazmXoLIt9rxM/ZdEmGXH3lEOkF5Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR10MB5297 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-10_07,2023-01-10_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=912 malwarescore=0 spamscore=0 adultscore=0 phishscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301100122 X-Proofpoint-ORIG-GUID: xpO1hjkUOM9rcRKjO-yUNj7lQV2bu3BD X-Proofpoint-GUID: xpO1hjkUOM9rcRKjO-yUNj7lQV2bu3BD 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754662833718926233?= X-GMAIL-MSGID: =?utf-8?q?1754662833718926233?= An extra vma_iter_set() was added to one of the loops over the VMAs. Remove this set as it is suboptimal and unnecessary. Signed-off-by: Liam R. Howlett --- This is an mm-unstable hash Fixes: c6fc05242a09 ("userfaultfd: use vma iterator") Please squash this patch. fs/userfaultfd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c index e60f86d6b91c..55f3af6689b8 100644 --- a/fs/userfaultfd.c +++ b/fs/userfaultfd.c @@ -1620,7 +1620,6 @@ static int userfaultfd_unregister(struct userfaultfd_ctx *ctx, break; } if (vma->vm_end > end) { - vma_iter_set(&vmi, vma->vm_end); ret = split_vma(&vmi, vma, end, 0); if (ret) break;