Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3081488pxb; Sun, 20 Feb 2022 08:46:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwa3WUaepMgHs3ibJYrdi4rtmc7oQQ9QL9GcA2W//X73V1sBZdrMk6bRNSMVXq4+K0f2xeP X-Received: by 2002:a17:903:1207:b0:14d:537b:40f6 with SMTP id l7-20020a170903120700b0014d537b40f6mr16056392plh.50.1645375597469; Sun, 20 Feb 2022 08:46:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645375597; cv=pass; d=google.com; s=arc-20160816; b=0IKVf05s5oNNF/A1oeTztkE+ehq0/KyBOhKTnSUjaK4+aae+oGweP7OvsBZTgHAq7l wGUj96687FjuKCf8XrN5+uILdXoP4j+H2ooiilbObJYxShZCLZCNCNY18CLbW0aNEV51 h5Oy+5VjJQixRNP44OXnZj2pqoB60rquIDTqQRVAKkcsQqp2QoaBQ0Tq98W+3/Fb7IHL wX/lFQAbdrzPOF1I38q8Oy0BCFuyzcAZ5SBlUkKIAhLJGn5S2XeQA4wAR5VfjZZLIBj0 9RlkImP9JdxR5fJtNbrWF7JrQMXszDtr372tTzKcDJ1NOksYqHVPocXrMSHYPYwEil7q b0Cw== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=UK3n6zJR4ml8W5EfJ7Is9BNSuF9dRruKlC9fsprykqI=; b=w7Sj1jUmDr0rI2EFIcp968LHQ08M4jSGTAWfu7X3xgYzJMtQKwl1nPFhoU6wT4D9Fz dDxtGdyVf/Cql/PoCXIS0fjIKfBoDXk/N8R5DPNsCjoqzdiHPZppk1Q1ZpPYM1R0DXhT uCQ1GVCSYeFIIEyDj/6SUMFGs4z317nxvmiDTmlzK/4jFn0FqgqbnjliWUDzIXbpZwIs FphqslBXLs4EBBfHxp+FfVZI0s84B8z21RNImGry7300vnzb/JmkR1fT9Urvua07PEAl XPiUO7x94CeuoLd4wwNOYfZ4MrvI/M6bdE7YGnsameqPpse1RuPJyenqCN/hqK4HRGuK ufmw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=eB9xOumu; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ChYyx2z9; 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 r10si7558003pff.33.2022.02.20.08.46.09; Sun, 20 Feb 2022 08:46:37 -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-2021-07-09 header.b=eB9xOumu; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ChYyx2z9; 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 S236665AbiBRTot (ORCPT + 99 others); Fri, 18 Feb 2022 14:44:49 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:32980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237782AbiBRTop (ORCPT ); Fri, 18 Feb 2022 14:44:45 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50ECD1617C0 for ; Fri, 18 Feb 2022 11:44:28 -0800 (PST) Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 21IIhS6H007058; Fri, 18 Feb 2022 19:43:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=UK3n6zJR4ml8W5EfJ7Is9BNSuF9dRruKlC9fsprykqI=; b=eB9xOumu0Tywff2UsdU44RZqYtU9auM3H1N6WnaKrdq2ED930Z/5gP4qi2rHBHZwCkt6 2bgsGBONbbbimLHbyKde1rlGlmI+tetI3j5WTHDdamx+Ua5HDXCcTEc4AOn0viTTft0d LoaIrn+9y96dSCXzRQ+b4ATiD4eSmPUrsCIaL2u0vyQqMC1R6rVOcbaomBhaUqNxfMnW B18LBJwW3MXBdxjjZdw9LEd0HxP2CJaCY0dS7oJDwMs5QP3J6CTwaDsLarqTBthJC2PE urkOiMgFvoP/wJngVsSjxlH0g6t3PtXMoE/+rc+SNQ4DYjZg3YseSBMTZkyi+Z1O5DCv xw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3e8nr9ar1j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Feb 2022 19:43:52 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 21IJfpdL162175; Fri, 18 Feb 2022 19:43:50 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109]) by userp3020.oracle.com with ESMTP id 3e8n4xyv5a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Feb 2022 19:43:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aerR8cn8BYUSFpLY9YfpbxFhJorSXm/op+vT7HKbJ1TLub/gf0yAtU3CiUxQO6/Uxcj266sjFn59TuX2ZIYbfWRUV8aBMEpCu72IEfo4ImpIO0+eBrUA0Npv9YL3LC/L38lFMEAY77+H/0WxyoCNlHhxUbpPJ4D97K6voqopcuXyZiQaFs1rLHWmMyjBy8+VdJTrlYus9jBgtp8cTAvs3mwLcm9FRKyy81V64hmwmneHUD0l4BfAbJG/ylDs9d0ccveTaWI4nztQnTBYkeAdfDoxmyAj283ciAAIEzYqPlK18iNc45aymm+6EtNM+9uPr+YQD4+iJzdb8q+2pvzwbw== 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=UK3n6zJR4ml8W5EfJ7Is9BNSuF9dRruKlC9fsprykqI=; b=juRJRUFc3undzojm8xlXdQKXa4iC+QelypKUXD8tnWzEijVSGZGbUHk0pUcc9aQG8KC9kvvlbHO+whkzB1pSwuyDDy5B3Dvf/vX1UrcEn1QwH+BbCVALZZPypDPDyQY4M5/YwwIJXolE/NKgYvrvcjDFEgMzrYar+svEryJx8INFzHpXekoKnaTOdfW7Qp6haxN0CIfe6zI0pGX/xJj9PxSIgtwQy7dEMkavki8Xl1s0e8Uz4xqHAAFBr6sxqiz7KUFKPF2Z6ovyeJ/wtzWf1C8WuffQen0WNoW5I6aeRRJ0J6W7OZuQ3Txe4DXDWoIL8Z4YbE3KciWBGHEY53PXMQ== 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=UK3n6zJR4ml8W5EfJ7Is9BNSuF9dRruKlC9fsprykqI=; b=ChYyx2z9SIz9wfNyY/cAZpy/moelWD+DeALvTUqr1FE3eFyqQ34+gtbLnqmNS+V0w20ypLTqvC3NaqPFw11w7hGONgY4/aJz7pCGdfwn/kupU0zAdUkqrnj2MhQeNj0XEpCmlIqk2FVCaJSeQ473mx9rKuk954HjNoZra95+yd8= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by SA2PR10MB4713.namprd10.prod.outlook.com (2603:10b6:806:11d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Fri, 18 Feb 2022 19:43:48 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::899e:951a:8129:8ef1]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::899e:951a:8129:8ef1%4]) with mapi id 15.20.4995.023; Fri, 18 Feb 2022 19:43:48 +0000 From: Liam Howlett To: =?utf-8?B?SmFrdWIgTWF0xJtuYQ==?= CC: "linux-mm@kvack.org" , "patches@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "vbabka@suse.cz" , "mhocko@kernel.org" , "mgorman@techsingularity.net" , "willy@infradead.org" , "hughd@google.com" , "kirill@shutemov.name" , "riel@surriel.com" , "rostedt@goodmis.org" , "peterz@infradead.org" Subject: Re: [RFC PATCH 1/4] [PATCH 1/4] mm: refactor of vma_merge() Thread-Topic: [RFC PATCH 1/4] [PATCH 1/4] mm: refactor of vma_merge() Thread-Index: AQHYJMIWR3BGTps7OUOPY/SvNH0+TqyZtiEA Date: Fri, 18 Feb 2022 19:43:48 +0000 Message-ID: <20220218194338.5sdi7jwusfvh3b45@revolver> References: <20220218122019.130274-1-matenajakub@gmail.com> <20220218122019.130274-2-matenajakub@gmail.com> In-Reply-To: <20220218122019.130274-2-matenajakub@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 83f3d1c6-d8c9-4015-7e24-08d9f316fbb2 x-ms-traffictypediagnostic: SA2PR10MB4713:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /aaiQbN6EDB+Zfyob+CcOkLcf3s4HkDYPlG7uuA5UcoIGrwGEjZ3LoRUxj+pXjF8TbcYTOTZQ96l2zCwMg9einUbLm616MxSxmqPzxSA1WHfdWO2qTmYKKAv0tKisO6EsHS9Y76VHYJJX+L8PS6SHDtXcHhafiKQXqZl4lXK0EqIZrrLALH6Ak6Z8esUMfPJg3p4LXPLExLqSiM7eX6XhZ8s/7Xm3d5kD98Hc+I/oQnghNMXkYWVG3oRZ7UHphu2Onu7cD6Mj9E4Yi9tyYvQ0Q/5j/VrIItV/w+LKq2PRTw/hMsKSTj+gRznRjojoZKocvQ48w/XaBy6ojoEu+ZIbDDYgGpYkmjznfCPlwDR8QmjktlcXpXpmTXPo//sbHn6D7p4wGmrSNNFGpF0NU2GtfUePPIaOufbh0CNmUk6d4XqgOMCDN8Oq3aFqyU1Sd2BgrKP/UiYGm4C8SYTFH7ya4GEPVwRFrucMEQnmLLjTgXxW9wesiN5pboqXYsLer+2ztoxTV5ntaCdMJggsTN1JUz43UNlBWwh06ESyTFK2t/a02mEuz9GDJbysqinTQw3jFPQfiasF4xTHtdUl62WetCG6mttZlOHXyg6OYSjViQ/X8T94zQx5lPF6TtZwGNxKl70eS6zHYsTDJv2vSZNO8kS7M1S5HOFXFY82EbI2bB3sdnVQJb2La/lZm2KVhcP2XY+JMQaUoAxG1UPplC6yg== 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:(13230001)(7916004)(366004)(91956017)(66476007)(8676002)(66946007)(4326008)(1076003)(38070700005)(66574015)(64756008)(2906002)(8936002)(71200400001)(38100700002)(76116006)(26005)(44832011)(186003)(86362001)(66446008)(6506007)(316002)(66556008)(83380400001)(33716001)(7416002)(6486002)(6512007)(508600001)(9686003)(6916009)(54906003)(5660300002)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UGFyVzBkQ1BYMmdCOGl5NHNKK0U4d1I2Z2pmSndJZDdla0U0S1RTV2ZOYjY5?= =?utf-8?B?eWl4VzVDbUZ2N2VWb0dvZ0tDVnNRb2JtWnB1aWV6ZVkzQ2R4dE8vODdTQ0VG?= =?utf-8?B?QmtLS3dUaVVtVDZmd3Z4cll4MlpoangyRW9NQkQvZWRISkNHa0NBNzdyMWht?= =?utf-8?B?cTB5WVFQZWtqa2p3QXJxVzBGTVRpSmRYTTBPc1VuN05rUkp4L20yVFM4MHpM?= =?utf-8?B?b05TZzh3ZWp6ZkdXZWlocGVlQS9aU3RTQmdWcjNSSFlEODBrQlJId0ozMHdy?= =?utf-8?B?Y1oxc0pDd3RqN0hoOFJ6dFk5TWpBbnNJN1p1emlRaUpyKzk3d2IyR1hEZnha?= =?utf-8?B?OWlqNkVyckJhWDJzV0FxSzE4VWZxdmp1OWNORVVOUHQwM2lGR3Jpd3IyYXhi?= =?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Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 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: 83f3d1c6-d8c9-4015-7e24-08d9f316fbb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 19:43:48.6619 (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: wdB5qX0BwvMFc/vHQWmhv91MySZUjcEJ0N5qKO+Bj39rIS5MyTCyOfGzLzK6yZuRJachOO5bw1oZP7Ncm90lzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4713 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10262 signatures=677614 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxlogscore=891 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202180120 X-Proofpoint-GUID: 2AHJrvvMZA3RV7hdYBieq8hEG4ureeTn X-Proofpoint-ORIG-GUID: 2AHJrvvMZA3RV7hdYBieq8hEG4ureeTn 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_H5,RCVD_IN_MSPIKE_WL,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 Preced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