Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1089030lqt; Fri, 7 Jun 2024 07:45:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVCrGmw9qtXpTrgWfgccQJ6PJ1ZZb2wOUwH/qvlom5SmyHmYlZM0KPSNn5tuXsfqGHA631x3vVWIi20aeDTFWqe4b3vKk9jZ2Hv3O6OiA== X-Google-Smtp-Source: AGHT+IH1nSsH1hSf8iI9y+TjB8Ny7O3Do4Tf6UMAiK+qqJlo2Cb15tHs06IJ3cU+GML5uOpKbycv X-Received: by 2002:a17:90a:e0f:b0:2c1:5e90:1f8c with SMTP id 98e67ed59e1d1-2c2bcac2cf3mr2715531a91.1.1717771555543; Fri, 07 Jun 2024 07:45:55 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2806335d8si4917386a91.29.2024.06.07.07.45.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 07:45:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206256-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=TFRlf80Q; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=CN8qHcXQ; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-206256-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206256-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 15E7CB27F21 for ; Fri, 7 Jun 2024 14:24:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD13B196D86; Fri, 7 Jun 2024 14:24:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="TFRlf80Q"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="CN8qHcXQ" Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 CED4A1DFC5; Fri, 7 Jun 2024 14:24:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717770253; cv=fail; b=ch5rGIXkFu87gG0QtsubZrpGlF1xIUkW3xtZIqqiHyyJl/RvV48vXKDDGlSGxJzQfFYAQ7TB9NcR6MGYimSbfJt+3Ytvw9eRe13zpVyGhm0BE37Q3SX94FdnMlDLt49YoWDyY2eRMuBkL9JEcCwvJBQAXyBp3Ij6DCglViJgZfg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717770253; c=relaxed/simple; bh=mQRx2k+NSN8uXaEdc6XjB9QaAQ8Nlfm5rQsikaxXF9Y=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=Ewp73uG0HmKUiP5yzNFLS8bEmUQe9JJJHQj6W0Fox/lyKvusIkGxvIGnyXZF2Vifdg+whIZafHvMNwo1BfecOxNrKNP3fIBMeJq0n1RO1ED2NaaYwO/efF3fqJFaLmeuoZ1CuwBJA5JZyByiEyWNHwRnvw5QxwDlNQ6Wi7kLTrg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=TFRlf80Q; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=CN8qHcXQ; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 457CuhWs009446; Fri, 7 Jun 2024 14:23:49 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc : content-transfer-encoding : content-type : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=corp-2023-11-20; bh=lOXaNAaUnPK8S+zMLxtdqCPVinPTi6JxZrAyG4Js4VY=; b=TFRlf80Q2ZNIIXqPjeuTLLnoIKex8p9DHyU1Qzxopkm3I/Ol/NRdlZVV0+lGYYoEkegn M0ctZjsZHHjxsC48zn5RpBVxOApSG3hsnQwFNHS42uCMPjR8Xi4frO+Wy2PjM725Upeh PP/Z+VEb7N/kMViQLPolAkZ8egz1mcoqd/O98UoS92ID9zvenYxyJkrDMzT1F+GXqpEp fo9SnBWpfxwKRR5LRFghfazZfQsn0HsUysE5I+oDfrBPZhjIZAVpj4Rm8xMKI7u5tkDs p3tHs3BCuJCUI40+UdgpxuQ1sgSlqBbCOgsYHANf8lMjKJBOFR/7r18giUqJm47IzJrX RQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yjbtwdrfv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 14:23:48 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 457DEJLa016183; Fri, 7 Jun 2024 14:23:47 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2049.outbound.protection.outlook.com [104.47.66.49]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrsehvg0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 14:23:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yc2AFQXE1Qkcj1y1UJ/RXne5Zz6YkjNS/kAZy6guXCaadmp43BkTLvgqtD0swDJPrI9lKDWgWt6ObTBgt+t9biLRYXpLV72swaAqisxibKL5FrMydmt4PkJW/ltLkrBTiZkLpenfjhnMOObTGqq9zAfqoWYktbE7+O/3tgtQqvNOqS2jElqtb4JMIXRjsOrAFeAsQgaUpKVWrO3NTzN73gTft2JDtnmzPcV/ybLg4Oh1Rm0ZJWHqleE6Ixc4AlF79w0btkqs+YFxWam08XX98Aa7XLF4LEppSj4HWFYtTHm2loS25bpe6Wy8d/7m/Kd3jLZuzR24Mm/i91hgK9wJxw== 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=lOXaNAaUnPK8S+zMLxtdqCPVinPTi6JxZrAyG4Js4VY=; b=Gqun2WnVsvSGF/4kctozkhnyYNUP9OJ7fx1MW8APoRNUtKhH24ghY3vYe/n4ci3TJIxmJ+Ia7Dqo420zSjGt/K2oMxbwsQA2fuS3WdJ643OH2+YKmYGZIm7QmqBeO3KBrenkjEknlTGmrpJSr+04t0kAjxKS0WftjF72EKws5ewE+/lWe5r4SJEbxmYcOqLwgZpOR8En2NhAJo/BMpALjM2cqQQNc4nW7PF7crVCrarN3gNWL1bm3YxJFDLBZwY7y/HsXkbkSmDtTHY8ZFq1F1hNh0Mb2iNmCfS9I6ooBek2S5pys3KEyLyDedJymPk2fBBNHUF3B2M5272uI1ZUOQ== 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=lOXaNAaUnPK8S+zMLxtdqCPVinPTi6JxZrAyG4Js4VY=; b=CN8qHcXQK+h45Du0V7SF8wXVq2j60HW7uLpEkRI8UJv7nT8H8/hPIZA+E4d32L+ZgseM+HDK7Z02+U4MWXCNmERtkGEK0wh9Q1O54ZM/c1zp9ZxqBth7H1w9Cn7ObqVB9GFDFQaqXzPIqDfpvjW00T82scxKtclG0yNdZwAQ4b8= Received: from DS0PR10MB7933.namprd10.prod.outlook.com (2603:10b6:8:1b8::15) by MW4PR10MB6322.namprd10.prod.outlook.com (2603:10b6:303:1e3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.34; Fri, 7 Jun 2024 14:23:37 +0000 Received: from DS0PR10MB7933.namprd10.prod.outlook.com ([fe80::2561:85b0:ae8f:9490]) by DS0PR10MB7933.namprd10.prod.outlook.com ([fe80::2561:85b0:ae8f:9490%7]) with mapi id 15.20.7633.033; Fri, 7 Jun 2024 14:23:37 +0000 Date: Fri, 7 Jun 2024 10:23:35 -0400 From: "Liam R. Howlett" To: Suren Baghdasaryan Cc: Andrii Nakryiko , Vlastimil Babka , sidhartha.kumar@oracle.com, Matthew Wilcox , Lorenzo Stoakes , linux-fsdevel@vger.kernel.org, bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/5] mm/mmap: Split do_vmi_align_munmap() into a gather and complete operation Message-ID: Mail-Followup-To: "Liam R. Howlett" , Suren Baghdasaryan , Andrii Nakryiko , Vlastimil Babka , sidhartha.kumar@oracle.com, Matthew Wilcox , Lorenzo Stoakes , linux-fsdevel@vger.kernel.org, bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20240531163217.1584450-1-Liam.Howlett@oracle.com> <20240531163217.1584450-3-Liam.Howlett@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: NeoMutt/20231103 X-ClientProxiedBy: YT4PR01CA0034.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:fe::16) To DS0PR10MB7933.namprd10.prod.outlook.com (2603:10b6:8:1b8::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR10MB7933:EE_|MW4PR10MB6322:EE_ X-MS-Office365-Filtering-Correlation-Id: 0f67a58d-ae68-4e93-3736-08dc86fd6bfb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?U1dacFNEaW51bmRxNzRvUzBBS3lVVTFwckV4UzJPSWwxa1Q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P:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR10MB7933.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NndrcERiVEgxdEtHRUdBalEyZmFkdmIzVG5WSWVSQ0RXcXV3Y0RwU1RUa1Jn?= =?utf-8?B?dkpsV1UyalBQSGpyM254dUxIaXZRT0lMcWpjM2tGNy9ScmFhWE8yMkpmZ2tx?= =?utf-8?B?ZmF6Q0VzV0JEekRIYWQvSzRLeWxsVjBUVlo4VjRIT21uaHZiZThaM2k4WndO?= =?utf-8?B?Rk5MRzJyTkxMV1FPcFhxWGZLbG0wT2tld1RsNFM0VDBTUm1hRHlIeUVicndn?= =?utf-8?B?MTZwYUZiVG9laVBJVTVYbHZBTUJEeWNLcUNHN0dhZDl5ZUlVU3lJczFpUnNv?= =?utf-8?B?Zy80VVJUUzVVNHM0VkdLRkVSL2xrZ2JMd3I2RU9HWnM0amMwNmxVbXFEb0xC?= =?utf-8?B?WUxsUDYvc2RaeHRqMkUrSjlWaVc3UzVPd1N6M1F1TFYySFJiN0F0MlFRR0NQ?= =?utf-8?B?emxxOVNmTTVBL1FLMUZBL2NJRHpSMXFNbkxhU3VzOWowemlPVFlBMCtwdGQw?= =?utf-8?B?eHMwaldIb2I2SzBUUFNvMnF0TWVJV3kvNHJuamR2WWFEMVpEMEdOaGZkcXZz?= =?utf-8?B?S1JHOFlzZE1wU2dLK0M5UkFETlNBSGxJMjJVaEY0cHRadXIvMFdSNHAwV3p3?= =?utf-8?B?NllKcmFrVmgvNUh0M2hZNDN3anZaL09JdkpSK2dvVGpheHFPUC8zVVQrdFpC?= =?utf-8?B?ZmdkVG5kUncyMDJ5M0FURDVsVHRwZW5JU3kzVTRxS0g5UzV2NUdMMXZmWGcw?= =?utf-8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Jr4rZ6Ryngh0Akj/yvJkMdblNSnqyKAowf1NbazAQ1PQC7/NYX3pM2cmTBPNDoy3AyHxeLbSigAZDbu3fMOP7MssiCdm2NlAwMgjQXXypcHUpKfgOPyOOXxLYfXfvd2ZzOZK+tf+KkYSLfC9iU9Au6fEWUGDjrdhKdMnHKxCwQLS3gkPCuAqdTa4isEPifO41ls4uZDpPCozmEZrebhDehMNTdhfASO0RUmKYofek= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f67a58d-ae68-4e93-3736-08dc86fd6bfb X-MS-Exchange-CrossTenant-AuthSource: DS0PR10MB7933.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 14:23:37.7244 (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: /CJsVvrQ/RkKORSrYKMePvycFBNPMFSYucmRNtgFfqoTKekvCTck3zgiqM9xcUMf8PtHdI/E8P6+YrqAAU2THA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6322 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-07_08,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 bulkscore=0 spamscore=0 malwarescore=0 suspectscore=0 phishscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406070106 X-Proofpoint-GUID: miiO_sadDP3CTxLkcfwmu4XdmdBgdSzF X-Proofpoint-ORIG-GUID: miiO_sadDP3CTxLkcfwmu4XdmdBgdSzF * Suren Baghdasaryan [240606 20:14]: > On Fri, May 31, 2024 at 9:33=E2=80=AFAM Liam R. Howlett wrote: > > > > Split the munmap function into a gathering of vmas and a cleanup of the > > gathered vmas. This is necessary for the later patches in the series. > > > > Signed-off-by: Liam R. Howlett >=20 > The refactoring looks correct but it's quite painful to verify all the > pieces. Not sure if it could have been refactored in more gradual > steps... Okay, I'll see if I can make this into smaller patches that still work. >=20 > Reviewed-by: Suren Baghdasaryan >=20 > > --- > > mm/mmap.c | 143 ++++++++++++++++++++++++++++++++++++++---------------- > > 1 file changed, 101 insertions(+), 42 deletions(-) > > > > diff --git a/mm/mmap.c b/mm/mmap.c > > index 31d464e6a656..fad40d604c64 100644 > > --- a/mm/mmap.c > > +++ b/mm/mmap.c > > @@ -2340,6 +2340,7 @@ static inline void remove_mt(struct mm_struct *mm= , struct ma_state *mas) > > > > if (vma->vm_flags & VM_ACCOUNT) > > nr_accounted +=3D nrpages; > > + >=20 > nit: here and below a couple of unnecessary empty lines. Thanks. I'll remove them in the next revision.