Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3600239pxb; Mon, 21 Feb 2022 01:28:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCZBZFqEQT6tr8EeQbXbP144RvtYZYXkGqN0jvSCBAGorW6r3iZYtI4Wqu8M0WI4PaI05m X-Received: by 2002:aa7:88d0:0:b0:4e1:2a5:e05b with SMTP id k16-20020aa788d0000000b004e102a5e05bmr18911073pff.55.1645435699813; Mon, 21 Feb 2022 01:28:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1645435699; cv=pass; d=google.com; s=arc-20160816; b=GBQQduBJagKXXZHRonuuOcoi5KGtZIDvM7pI3EL3tD7NA0cmAaQeMxFmLTpstba80y u5adUl0azljcLDfrLHk2FpeP707oxBla1Kqctaimrzv/tolGP4eGmDkmKkg7d/jVC8fz 4lfwqJ0HJKmF05xGjSOJUhjA5FhgcOu15TlrGzNwOzV058lp16Kg+0V2BKEf+kul+Llk rKngYumlRdXGj1y6pn7t312j+b+5dMfU4zBz5zzhzsFcN/2w6tJXKgTHmJA7AOr2p6OZ ppY/8dxb9nIsLcCkFP93a/OeB6KAaRQiSKR/2e4kxsgh7/QXCfVGoGMmQUkVmW4v9Vk9 oX/Q== 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=93eYvTambhsTOqKZ0+2tCjYYxsHrhW2ms+or6ohsOyg=; b=HZ9R9aHpmLtGDmMCxviWr/YkC2OoWTx2k3dF/dUjEM2CtwZTn1xIfSQ9Fxpu2vMyhB RW0DRBBRecMapDtHEZKr7o965GZ6ZkG6LQzWA6IVl9Q1V22SR+fUX7BhjDhP2ztbNB7p 257xMtqLXf9kiYjPQqLv/Osw9fUG0fb/yDP+ABVsPxvBlzHN4Px1N+DE9m229faVOJFe uXXP6U0SMbibYFm4GhwPPmCfFDu4ow/2zsgZELaw5/cpy25I1IukjH3SeFR7ZlFMs7bf PEuvjZNhm/zdrTSNSHckV377M/EP8Jf2Eb+GQRAM/IcwaSHZgPvIU0b14znIAx/zeTz+ m62Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=bn9tk2IQ; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=mz7A+HLJ; 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 k3si8456087pfd.217.2022.02.21.01.28.06; Mon, 21 Feb 2022 01:28:19 -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=bn9tk2IQ; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=mz7A+HLJ; 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 S238214AbiBRTvv (ORCPT + 99 others); Fri, 18 Feb 2022 14:51:51 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238098AbiBRTvs (ORCPT ); Fri, 18 Feb 2022 14:51:48 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F387CE56 for ; Fri, 18 Feb 2022 11:51:29 -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 21IIhV6K007040; Fri, 18 Feb 2022 19:50:53 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=93eYvTambhsTOqKZ0+2tCjYYxsHrhW2ms+or6ohsOyg=; b=bn9tk2IQSLhctPOs7QJnv+zjSFaSWXqiTQ8iremRKseduWI3M4lKKRPV7nWzQKkayGgi ofc+ZgvvyzUK8A+QzcCKh2+Z7pIsuyWiZBFB57qb+B+mleLApyt20Y2IwXV1/VaMlJo8 NIO/80fiBppt3p7ovpEXY/UjChNc+MW/NV6jA5NxaYDw3h4V+NiAZpb+THAVbmE0jaCI 92bXf+hW36rnlko7/gmDP7IAURxEpV4+GHMKPVO6Me1FpETeaHb6O1P2HN7pREbpz+XK Um93ZhgLOmZ8qLN2XC/Fxp0ih4k4oMjKFgPpKBTVlNOMSoqRf819GWZ/NEDPb4e0QcTr FQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3e8nr9arpy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Feb 2022 19:50: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 21IJoWUX023202; Fri, 18 Feb 2022 19:50:51 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by userp3020.oracle.com with ESMTP id 3e8n4y045h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 18 Feb 2022 19:50:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zno7SlbBXyvuRnhLHXgIWUn5y0ndLfl566VADzSGYq3ystEP3eMo/+A+yToc/BiSZocn6UboRR6y9ijBcGOkREkoGEuQ1/WPrUiO7FXAW26m2XcQtrRMecMAxx7yoJjWDJhoPY0/4x2uZ2UDvDurlll3/dxZkMGj7GnNDn11bwYLjn2ldYPt7sdsmughgRw7ulrHxo0lpbVX3VI0NgGQe6souQ61jSRiDf2D/46TKP5+qeZDRZSs7Q4Vix4u6kHlCa3d9CDuyEJhYMYEg6iwEw93/6tFpEv24WfZvOEd5URDEIpCyE7Fj3rcpZjlGSWZqLNg5KRggI3wa9LUo4uJKw== 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=93eYvTambhsTOqKZ0+2tCjYYxsHrhW2ms+or6ohsOyg=; b=QsbXHFr88LhEHHHGqhy35NefbUQOZsjVXYgM7I/eNVxwYw8mmV8YdNxtOnOxZC8wk5eEh9sLBk6sbt4TzLVUIHqb7S5pBPFL/BrWiKV5QohKcgxz7pwGLj53hWKecCEKRqQo5CMzjOq6uwV1UadPfZU0gpS8ZrmoEG5i+9pDIO0tjsOyc9Pu/mLT6G/eN7ZVOvVWXQCb2Xs1ITl3lLMTS2f7rU7DSskDQAt3KjSu/zgm0Xkfwn2NLbzZZqS6hRk6R/UcCwjBs/fVU1dM7adADMuz4cbM42roIoCvEbqzOw9aiA3de6dwgBgqDqsEBosLcfIqxOefqGM1raSIU/3Qfw== 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=93eYvTambhsTOqKZ0+2tCjYYxsHrhW2ms+or6ohsOyg=; b=mz7A+HLJRXt722aOlRNjLdCqru9HuKfDHZheasqV8Btz8dgkAfQMtI9NflrX/to9s54ATOLLWfw8GLhWKjm//0WDQ41PGShREX3amgCJaeMYqVKhVoOL99DlxR9X3/ysViMbYYxt7qU2XeRa0nnjwhyy2ZdDmfO0OcNF6b7lcCo= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by BYAPR10MB2757.namprd10.prod.outlook.com (2603:10b6:a02:aa::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14; Fri, 18 Feb 2022 19:50:49 +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:50:49 +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 2/4] [PATCH 2/4] mm: adjust page offset in mremap Thread-Topic: [RFC PATCH 2/4] [PATCH 2/4] mm: adjust page offset in mremap Thread-Index: AQHYJMIWiIlIrUz6+USIJo3iMxeubayZuCCA Date: Fri, 18 Feb 2022 19:50:49 +0000 Message-ID: <20220218195047.bplrholzx4h2id2i@revolver> References: <20220218122019.130274-1-matenajakub@gmail.com> <20220218122019.130274-3-matenajakub@gmail.com> In-Reply-To: <20220218122019.130274-3-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: fdc9e7fd-f661-4e15-0ac5-08d9f317f681 x-ms-traffictypediagnostic: BYAPR10MB2757:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4cJ3khqn0OfJgLJvNJhYbeMRmfSodwXK+KGyf0sme/I4bt0wQfJ+nv1pyvjtH+sLK6+FTG+SoiA8IC74QfGvbWFxktxjUA1atRmcGBWHWCecXXs4PK2+Ps+ceiURsGjYtfmTW+EeIw59Lv/KT5Xl4e+1aIj/caX4QT7byX1DYcONdv9yPbyuqgBZDTo67TimRnzIiAYWlP72yvqI+QatLW7i0Dak3Tc7KTeiicvMRS+herdk0CK49IG84GGesNoO8kwqks6AIiEdABj7Fc1jZRIfZ+cmmluQoBsIRlo+6XpSszUHrh5vSFWQlFi1ErRXApsNHNDccjTbYzw8BPJj3unEbPd+Mw/u657Dr2W3Ppv6hT1nu83GF+zi4ticiz++NZ4TkWfGGr78J6pERg/1w/ZbwJCR2nJclVxR10miJey6dH+mWCShGNDfMbsjianJ6TZmHqF4XUarL/6cZTEg5tPxkT31KkQSYfQTN/btRQroYIaA5kd5NjV41epLjvW+txGp9ANiTCVrYwMHpku2Va6Sxp7lFt44iy2TCXnb26IUJlc9sZmNkbBBcPgmhau8jGwDJvcJ0seF8mLM4KWcqwrMzX9vmcMtR4CYA7MNd8hN6t86ksoG11SSOMcWTNzu7T4c8yPFW8uCxX7cgYc1CDce+Nz0sbjVaVQaI0Dwj/YefXnoyWlfZEoMAOM8ruqKERM8B+VKEqnHbAC7xzGzgQ== 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)(38100700002)(6512007)(6506007)(91956017)(9686003)(66556008)(66446008)(4326008)(44832011)(66574015)(64756008)(66946007)(71200400001)(7416002)(66476007)(8676002)(33716001)(8936002)(5660300002)(508600001)(122000001)(1076003)(76116006)(83380400001)(54906003)(26005)(186003)(38070700005)(6916009)(6486002)(86362001)(316002)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?SHdyTDBabHN6ajBtNURNd3R6MWpTOEVqeGZDWThaTnBFT0xxbFhwUnRSSkd5?= =?utf-8?B?SjY0aVByREcvd0V2cnY0TEo0VmZKZEJkOVgydUIwREVkeXFpSFcvSU1rTVBu?= =?utf-8?B?ZnoyZ1I4SHlyNGRtWTNUMW1rNng0T2pjR0dOWWQ3QUhMbnBjaGEyUnVjb2FW?= =?utf-8?B?VTYrMUhvTjVlR1Rpcks1YTUxenIxNWJzRGZ2TCtnVE9xVk4reFJzNFRFbEFi?= =?utf-8?B?MXkwWXZ4bWNNMWFhaG1HaCtVb3pFUEpPaDZtYlJiWElISitRTVdMaTdDSGFL?= =?utf-8?B?RFREMHNobHBDOVBuaTNoNzh6Y0NOcHVCZVozd2xhOVo3L2xOOGJtQzlWYm9S?= =?utf-8?B?V0FUam1wY21hTzJ0bmpSenZlVjQyNmVQSjN4RkgwOEVjMDVWK2p0WU5nZHZQ?= =?utf-8?B?Qmhaa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="utf-8" Content-ID: <752AB105C5CF5A42BC2D5468FAE49C5E@namprd10.prod.outlook.com> 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: fdc9e7fd-f661-4e15-0ac5-08d9f317f681 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2022 19:50:49.4304 (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: m59GwRBRS9BR6L7tCCgjBOaf8omVAqM1FOkPLLIEoNbiEf9W9gveHDVWOWXj+QZXAhqEO31T6s8L+3NFOuBFYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB2757 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=999 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202180121 X-Proofpoint-GUID: _6HHY_92NX-L4tgmmqglDoMFeV_j6WT4 X-Proofpoint-ORIG-GUID: _6HHY_92NX-L4tgmmqglDoMFeV_j6WT4 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 (2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