Message ID | 20230120162650.984577-25-Liam.Howlett@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp298606wrn; Fri, 20 Jan 2023 08:34:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXtEF8FPp225GRKTE12K1dkpQw4apo6SpW6plFCs+1/A6O7sOJZWZm6fbMKvnCDhe6edijL6 X-Received: by 2002:aa7:c91a:0:b0:48e:c0c3:796f with SMTP id b26-20020aa7c91a000000b0048ec0c3796fmr16254013edt.28.1674232474340; Fri, 20 Jan 2023 08:34:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1674232474; cv=pass; d=google.com; s=arc-20160816; b=IXvzD8IqLA4lh89hNgbMBd7x/H625J8QgotxVf2fXeJL5WY5sZ65psE9qEAR+hSA4/ raBcHZfmYpESjVLOyfvEOs8t3IP7D3R4LHpZr3VzcVZQGpJZ22lxHzOMmoINYez1C0Gz WZ+3LYHsXi9VgSk9YewiX3vbc5MOtO63LK7bf2fIcXKXJocX84pbIcAOocJ0wGeO22uD YOUmtiPkriii1x2rgu8iag//GhhZ8I7po53b5UdwTQUf0CqE1Q1anYt1kgRMMglpiaIf wh+6jLCTFt/3+rGGQZiT8snOturi2m8yMnxAeOebYg+zBej10FvL7YY5THwifPphp46y Itqg== 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=XZZVOOCjuW4MAwS/kA83MzCLjQvswkT2jbNv3CY+qPY=; b=pP4Wbw2Bg46kII9OR8/ULfJhBaw1tWg2Ttibh1P5yDNIXwKJoJ56wfaY+GXQsgHbRP DAUH5GFCk4hidwcsVd37IP57RRF4XYfoNTe4CWP1Helu9KFQQfbQXs4dIBVL/T2WzJLF 52VhJR6oL0TlIWEzwW4ld+OFx/G5aGqe1RHfLomhLBVT0hu1g2lF0fRyyOWptlFgSt04 cECRUPHNrRNOXLct5DXvrMvlyDnhsPgPZ2yLAqgUgbJM1AhX6VWILEB4pjC3entTwxi1 RNYfH+qgBeXO4bpxKMysjXPeCZGAxZL0ZP3G+rRGYjjOtc0o9MId9LKwsRSM1DYfIBmm CauQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=S61uec+e; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Qjhv1fmx; 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 j12-20020a05640211cc00b0049e62402a6dsi8995666edw.41.2023.01.20.08.34.11; Fri, 20 Jan 2023 08:34:34 -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=S61uec+e; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Qjhv1fmx; 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 S230195AbjATQaW (ORCPT <rfc822;forouhar.linux@gmail.com> + 99 others); Fri, 20 Jan 2023 11:30:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbjATQaS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 20 Jan 2023 11:30:18 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10E34AD27 for <linux-kernel@vger.kernel.org>; Fri, 20 Jan 2023 08:29:38 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30KGBXpi020077; Fri, 20 Jan 2023 16:28:16 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-2022-7-12; bh=XZZVOOCjuW4MAwS/kA83MzCLjQvswkT2jbNv3CY+qPY=; b=S61uec+eW08GfZif+Tdd1gShj1/3EmxCKs7LkKA+Opd6gfhINJeuRDDm79r9+gX8T8sx 4/3jijLBoBEQCo+0JFi8zSLZF+5yiboX0fRDlk4QousTvT0Tdp6aBk8s4axryiwMTZFY yBzxULww5RwpzdhY0xzuFz6tJ7w0nOCpHXpNajddAa+Xj3SVUCfC3dA+5EwuiDBCOCHB 9Z3F66GmVtGdXonDV/jo2uLzTEUM3vMFdphTnddG345CEpNmCOrq3QSslBzx09HsKb2j MFmwhq1XAufsrwaKNVPhcVcCsV3hg8PRgnHOlNF1LajhbiCzSdTf4ilGgiNPEVqIydUe Aw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3n3m0tw257-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Jan 2023 16:28:15 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30KFOoWA000777; Fri, 20 Jan 2023 16:28:14 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3n74d2svt9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Jan 2023 16:28:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RNSbBWR+gw6V5sm/nArthwl1ZtN0apoWUbNnRZyS3Lz17F2c4O7qFHXgu8oCKJgxtV6HtxIG7NecMxGc7Q7GhhMwC7ziqNx5bAebsKjLajNiH9UEf0LpJHNtVUsIcysQFlj6UViI5IWmRJmOkw/G+rqavbShX8H6UoWwtAHCkzZ7eXuBj4N5p2Pp8HVOLueVVMbBSWL0Dp+5HoZ01XLx5IpTXBG0wOVJZBqMduU0Sb/LvffLIY5l/PGHeNfOkxO+pAdWsaJfkJl7/IJnrvVTFnDedoGMLGoXVLMRWXzXfExaF52NLU7IKelHDQYNB09h7e/W1DBNeMA/1wVC7l+G+w== 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=XZZVOOCjuW4MAwS/kA83MzCLjQvswkT2jbNv3CY+qPY=; b=cUsfT2/7oxWRy/rAh5Ni87llczkVNDr66Dmv+Mn6cHzdVft8ZCRSRc94Gt9OXWxWP0qZBdsvnd6/rV1Ty3y7jGshIYGqgwy/ipRJGE5Ftwifh3TNNiHXklt+ngU7ED+VR8Mm2J1L3io1Jkf3kl+HhKpKIPOnprkHrMcotMd/f0ys1SsmF3prKYVvQZ9ieGt0uWD6pMoTeQ8WIPAc/y810SJorYMk6UQK7W1h/Ui8J64LFd+iwBAhwVJhb1zrIoVjtCypS0u3C5gHal7MzjeM5ju+ZJGj/Fs8l++Vlf/zGJo5befzAo9X/cOjPfQRGSfVePiQaC2+uAax1P4ScybL9Q== 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=XZZVOOCjuW4MAwS/kA83MzCLjQvswkT2jbNv3CY+qPY=; b=Qjhv1fmxDuHer7Z7vjO7YIyR324FDkMZF5KriXlm3Z+PzjUMrKHKQG4ReXX/yCDI3DR9adRyf+C83Y5fbHDLdYJi1YxrTAAuqWm4bzc4S9i5ufrJQdmEtMgkJ9FJRiGcPSEL82JElW+LfPNVVveN/+Od9+hylKU2Hi27RNdQN0w= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by SN7PR10MB6619.namprd10.prod.outlook.com (2603:10b6:806:2ae::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.7; Fri, 20 Jan 2023 16:28:12 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::7306:828b:8091:9674]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::7306:828b:8091:9674%5]) with mapi id 15.20.6043.005; Fri, 20 Jan 2023 16:28:12 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>, maple-tree@lists.infradead.org Cc: "Liam R. Howlett" <Liam.Howlett@Oracle.com>, "Liam R . Howlett" <Liam.Howlett@oracle.com> Subject: [PATCH v4 24/49] mmap: Pass through vmi iterator to __split_vma() Date: Fri, 20 Jan 2023 11:26:25 -0500 Message-Id: <20230120162650.984577-25-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230120162650.984577-1-Liam.Howlett@oracle.com> References: <20230120162650.984577-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT1P288CA0018.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01::31) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|SN7PR10MB6619:EE_ X-MS-Office365-Filtering-Correlation-Id: d5f1cbe0-ac1b-45d4-d7b0-08dafb03534b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kMFtSgue+9Trg2jL72/k0nkYlpGtXBQ9IDJucfhTwzzO9KCf1GeP7qUUgFB16C7d/qqQylR/W6G4Ur0vyYSZtVc3zk3p/4YW0gtz6Nr2DVHEgbDYmCecGyPzOjB1uWAPjbepAIjSle/FXFMz0eYytanHEp+6OIoqlplLOTBcsLp5n3GCLVypTvukookZtrUMKSp2BejlldQ58Y0VK4nj1OqhmzjkDJIOkuE961IrTKfPaKdZTS21sQ9CkhUG+TUwRrvrYaJdzv86YOm0uhrsh6FQpaUriDtJp+/fbBaHLlY4JSZtmfzHhvBWoywjSQu/cyQulRgLETiTfdfsfkOcYPH+GIRWpt0X3ZIrcverQgqO6bJPSGJcMSMX51xJwWOtaY6w1r+y32eST8EEIGHSEacHK2UCxvG/WeBfbkjTsst2Jgz4y/pdSy2UOPwMXA0qj/rURAqI0dfxNUuLt+SyROxIg4A0jNrLnxmSUXEeEkbqKTB84Ym8nL1Do4yx/GKBcqDv958f4bGr7rfwwDE6Bf/bAMh3OiNWrl3GlC01q8EVZvxT6zvIq95ZbN/V6mGsVKChOg/+kSCvTVDFZR4BdkfKT0x1EfR5OW7xSu41wAG+eNmSdV4avHkMauMmna7mtOKXZynWiOS+9RzsWAIoWA== 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)(396003)(366004)(376002)(346002)(451199015)(83380400001)(54906003)(86362001)(4744005)(5660300002)(6486002)(2616005)(38100700002)(8936002)(478600001)(6512007)(41300700001)(2906002)(107886003)(6666004)(4326008)(8676002)(66556008)(186003)(26005)(316002)(36756003)(1076003)(66476007)(6506007)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ryQhpu5U3t7P32/mOBBnsvI+AxhMdXL4tH8WeKtqJpxjrgvDqv1OdDoL+IWttOjwTDZOeQE5SKhEHuOoNWa2q07m1Z3MfrWwcfoF9/ANK6PgomZnRPJpPU0sPzemRkBVW3RrLCW04QUE/LqpjYvZKKFC2Zx+CRknV6VMOMS62EbAgqoVgORn6ujTeKckrKdnCj4XvcJRlCPOLO36j9ADgDCrdIuhr9wFRO+Hqn3GH4bSDTRyu1quIS9Cfb9vL/xB9Kq2mraVI0wwbvHYtE8NK4G75BxyukxdAUA1l4FPk0aQvqH0Vl4+Ef0uZdO8ZoLQubeg+H6q+xPQOa1cWULD5tydOLkeJge3pdtSQ7VI5KMuWsjKwgwj/7TpKLzB2N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dFC8v04kLmWzNxh5Mm5cd9/s7fv/E9ZGvUyEJqittDcacaDpwE5TBJsM2ubqOZoYz6zEFj+Tdd+fEPw/7y2fwFDvpKteGY7JHVecA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5f1cbe0-ac1b-45d4-d7b0-08dafb03534b X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jan 2023 16:28:12.8861 (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: ldIxr2U7ElivZQxLzv4gLTM0ZOWzknXZtCFpk2vY6ctGhfZiZAe6OWJBSJByHvK2UC1zfoDPYP0hePih1XPRzg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR10MB6619 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-20_09,2023-01-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301200157 X-Proofpoint-GUID: CFYzbznot7Yn5W3QVXrXnKEMTtJVpCqG X-Proofpoint-ORIG-GUID: CFYzbznot7Yn5W3QVXrXnKEMTtJVpCqG 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755559991111196922?= X-GMAIL-MSGID: =?utf-8?q?1755559991111196922?= |
Series |
VMA tree type safety and remove __vma_adjust()
|
|
Commit Message
Liam R. Howlett
Jan. 20, 2023, 4:26 p.m. UTC
From: "Liam R. Howlett" <Liam.Howlett@Oracle.com> Use the vma iterator so that the iterator can be invalidated or updated to avoid each caller doing so. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- mm/mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/mmap.c b/mm/mmap.c index 5092d0405883..0de180bb4df0 100644 --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2391,7 +2391,7 @@ do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, if (end < vma->vm_end && mm->map_count >= sysctl_max_map_count) goto map_count_exceeded; - error = __split_vma(mm, vma, start, 0); + error = vmi__split_vma(vmi, mm, vma, start, 0); if (error) goto start_split_failed; @@ -2412,7 +2412,7 @@ do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, if (next->vm_end > end) { struct vm_area_struct *split; - error = __split_vma(mm, next, end, 1); + error = vmi__split_vma(vmi, mm, next, end, 1); if (error) goto end_split_failed;