Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2833925rdh; Mon, 30 Oct 2023 08:59:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0ndr8cc9dqtpM954sSxG6XQu/ZjzhziPl9p8P2S1djv2LlNmZ7LnPh/XHNuUZ0f/Jn9vo X-Received: by 2002:a05:6a21:328a:b0:167:26c4:256d with SMTP id yt10-20020a056a21328a00b0016726c4256dmr20125pzb.21.1698681546534; Mon, 30 Oct 2023 08:59:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698681546; cv=pass; d=google.com; s=arc-20160816; b=iz/7HVDHa9j3JybJ4EaDxA1wu9TofLzSIZU58m0h2kmbmEHc7MFKr/amFPeKZm5IuI sAtWbdZDJNEQ1wHsQNTOKVzl1JWvSq4zN9iRDBpxlMlX/OKmZwv40lz7WjUm49Tx2CI/ gQ7sexOk2iURe0fIGR2wOPbvlEiZA0FHEmtpAuRRiLYX9co8otDkshVbva/iW82if6Be d/rkPK9RjgiB5h8mtShGqpykjy+N9ijRJ+SYb7GKToqsKlDcrxIvQbpAf8EjXmqnZvGf W64iuKuNYp+PllcoDa5hdl6puJHv8RCxBhmxte3tSdB4/4WbRJ0fySbnGCneCLuUjGiN jBRw== 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; bh=Sv9BnbclOW8tIPcf1lnDudHGr2EOuFKuq5WFNkZfccI=; fh=VnLPnQZmGSpFZ4Cw+/1Bivqwgb7Bs6XgEpOdl3GTYn4=; b=NILD0z+D97VAyCmSu7CB2GeUZvaKHQ+FSIEl7pCmrzkU6pIUaRgvvgT8OmZvYRR8cq 2WLM/3M+1L/s9w8X9/BkgyOaacnoAOPImMDoPVJCZmVDB+DcK4p4cCjd0X3zRKOuBkpk fWA5eFTNSCiEtQrj9iiU43mbXFZXNuIskymwPKTbb0wAT1IUmlBsVXj5PhpJyY3H+BHi 3uIJzM8CpSZ1Rjd3CjcjKMjp0hTG7avruP1FMF37wPksnXB8Z2KETJRRDo32PaZi+f/4 NQue1tKh3PUyRlMlKfZyHslFwu2IfFmEuwjJt4rX0YmamehXEstBwTeI9lhiGWn0xowI QBNA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=VrxK1jnJ; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id i186-20020a6387c3000000b005b9610fb99esi3543175pge.90.2023.10.30.08.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 08:59:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=VrxK1jnJ; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=vmware.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EEC9F80A28CE; Mon, 30 Oct 2023 08:59:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233751AbjJ3P6v (ORCPT + 99 others); Mon, 30 Oct 2023 11:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233311AbjJ3P6u (ORCPT ); Mon, 30 Oct 2023 11:58:50 -0400 Received: from DM4PR02CU001.outbound.protection.outlook.com (mail-centralusazon11012004.outbound.protection.outlook.com [52.101.63.4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB66EDA for ; Mon, 30 Oct 2023 08:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xwujvhx6kkPusj2bQT1M4tT5TjdqLkA2rBojqAC2KilSB8HYil5SHyIANBeNdoIZ7hjoIT5oW9KSqj5A3M2kfSkF0qvYrHwZGdIU58xVMeMTLdYBbRHUD8ILpRiIAjWnUHZMZTwnvw+rJUOhCQt4/J0ywP9L1RsiX7uxclacAV4c19sCF5Rab+fMx8faSUMYmQyDNHug+kZPWKlfeeIm1qkPIqSoWwg3bbNGieJxe9OuUEbHRWYoazI4A8yVQQRH/AbRED2XrRcvSuUO5CeoSlQIVhCuJXBDZa30H6sc2gx/28730bqWZ7/hVgMn99uBR6I8bjlR08S5Cgy/EAV4rw== 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=Sv9BnbclOW8tIPcf1lnDudHGr2EOuFKuq5WFNkZfccI=; b=LFheezU5LP734j4KznsykU+w2ciq723SIrFIoABBMOdxufKCA5fD4iBu6HAERo88rBsorC0NJ6rrecVLUxurgh97/v4D1hYQXM+OMPhCch7A1NVnxTRotByb9cKREqt9bxUI1cE1rPnO60d9+vzmbUDn9dGGjyKj4950pNA5xUM7Hn3zvv9IZubMOommFi+QzB7HndXlkWiThZLGgIC28ZK7fh0JXihR/wmQvZSKnqYvATJETe3aI3qUydAv/DLIVKKMUKmWPPWs/F3d1bz/s8iIlJfszebt7mzDPYNFzAP/xAzYfg+BQEqZdPasxfGzi8NEO21jce395aJOA+GVDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Sv9BnbclOW8tIPcf1lnDudHGr2EOuFKuq5WFNkZfccI=; b=VrxK1jnJq8LTYaEIPQAFyMztLGZT9BF4kssMiOjLNJ3peQS7kcWJUxHkYK9iyJ6Jv0E4kEZEOHJ9KUhkGX+lD5p+g829E89vVL36ZpAMLNFttkKQw4igpxI+PsMptzmwxRFwYwtZMy1Jkbtesr84N/ZwdPldOXQm9UZoINcoWwY= Received: from BY3PR05MB8531.namprd05.prod.outlook.com (2603:10b6:a03:3ce::6) by CH3PR05MB10316.namprd05.prod.outlook.com (2603:10b6:610:1a7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.28; Mon, 30 Oct 2023 15:58:44 +0000 Received: from BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::b668:aef3:606e:923f]) by BY3PR05MB8531.namprd05.prod.outlook.com ([fe80::b668:aef3:606e:923f%4]) with mapi id 15.20.6933.028; Mon, 30 Oct 2023 15:58:44 +0000 From: Nadav Amit To: Byungchul Park CC: Linux Kernel Mailing List , linux-mm , "kernel_team@skhynix.com" , Andrew Morton , "ying.huang@intel.com" , "xhao@linux.alibaba.com" , "mgorman@techsingularity.net" , "hughd@google.com" , "willy@infradead.org" , "david@redhat.com" , "peterz@infradead.org" , Andy Lutomirski , Thomas Gleixner , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" Subject: Re: [v3 2/3] mm: Defer TLB flush by keeping both src and dst folios at migration Thread-Topic: [v3 2/3] mm: Defer TLB flush by keeping both src and dst folios at migration Thread-Index: AQHaCwJWAIN/MoWKfkqwslHpJdh5ILBiSanQgAA0MIA= Date: Mon, 30 Oct 2023 15:58:44 +0000 Message-ID: <0138328C-74D5-471E-A2CC-7675CA692F42@vmware.com> References: <20231030072540.38631-1-byungchul@sk.com> <20231030072540.38631-3-byungchul@sk.com> <63C530D3-3A1D-4BE9-8AA7-EFF5B895BE80@vmware.com> <20231030125129.GD81877@system.software.com> In-Reply-To: <20231030125129.GD81877@system.software.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3731.700.6) authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR05MB8531:EE_|CH3PR05MB10316:EE_ x-ms-office365-filtering-correlation-id: aeed0348-91f3-4f71-6d3d-08dbd9611845 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cKFJ5T23Zhx6loyyNr6Q/of4Y7vw6QeKJV4XMXwNAsIwKB1Ukzo9ULdKUfQUGzFw5Aud6TCxW1s5ygwLf6ToA5OoSpnqQF/c8THPmZIuR1fPHB1HWFHHVF30Q/1HEQCutLxSKvLsGbRoBy9o60SoCdmqkUWGzBmid3E0lAAGhKl3eT1Edwyz8PjAEyZgTudcJn05koEFO63DptJHlNg6ziGRohkM5sx+wEgOF73iTRmB76Lnz+W++yYnyFjycQi9ddTbTVXyRXHXxZ0e9XQdSsV51VA+uDGHp9X1EKOt/VNANScldVpxbD4mXPPFk6udbqFWoIGft9nmF58NxgzyWygIVIUXJF8Nm5qkZUpWOPDKt2ODVxwnkz37GHt5ag4jjDwGaHfBG/93Kj3za5DqCAy5EoFTEjisUVj/RRmXdCgPlVeo5LvZcip9iEGkiCMArO5NiZOft1WC/cHh8rYpPabZFMHfxfKXyvVmQw1yJs6laZxsXu+3cG/AV9SnyA2sT12C6dWyQS9Z0CNfNgA3tQv1wYYPQAcetzfJ8Dky2vJ2JAAQV/KCTr4F2v5z0hx/C0gS+PUxN3aQ7QW7Lb7EH4Q3KOrKWOkcYh6Ff15otsEXDPTxpWy07E6VdpqQvUJNUE6KErHkmgl4JWYPU3rRYIsS3XFFQzEiZNtNPpESDb76uLiDtFfPvD4zdXlmD3xiIFAECYMp4wimuiI1Vc+3HA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY3PR05MB8531.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(39860400002)(136003)(366004)(396003)(230922051799003)(64100799003)(1800799009)(186009)(451199024)(26005)(2616005)(122000001)(6512007)(38070700009)(2906002)(4744005)(86362001)(38100700002)(53546011)(478600001)(6486002)(36756003)(71200400001)(6506007)(66946007)(6916009)(66476007)(66556008)(54906003)(64756008)(66446008)(76116006)(316002)(4326008)(8936002)(8676002)(91956017)(7416002)(41300700001)(5660300002)(33656002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZmdYMFo2UFJTUkNwVGVxL0JwazBROG9ObDQ2Vk1ocG1ZY0RGT1FRQ1NvMVZp?= =?utf-8?B?cEc3eEJNaHVzRy9VMFNUSVpBY1FKQTJhVnZuMC9vTWpRQU9xTWFGdFpDSlRo?= =?utf-8?B?K09CckN6Tis0NXFaSHpDRk5sOGZUWmorWm5ybHhCQ2VOM2lmb3lVaGxDSlNt?= =?utf-8?B?UHVocmQrTVplL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UxnaVd2R3JrVEg0VXQzYUtR?= =?utf-8?B?cDRaK1FIS2VCcmF3MHpZaXlEQ1AzSXJQcDF5R3hiQ0c1bHN2RGNmL3o5dWJX?= =?utf-8?B?Y2RhTytubzdCaWU4Y2pXalFvcFVTQ1hSOHMvbU5NMStNQXVYS0ZDTmEwcjhD?= =?utf-8?Q?H/+WUvf4Cut1ISu4k4muTFzqs?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR05MB8531.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aeed0348-91f3-4f71-6d3d-08dbd9611845 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2023 15:58:44.5289 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4/VFI21oKmW+IJfvzWb4RHFIIN0LrlI2LF7hAXYIZbweHsFNOG7XTcJSjcxqE1vY1thICeS8jHrmR7CyHCFd5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR05MB10316 X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 30 Oct 2023 08:59:04 -0700 (PDT) DQ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