Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp326821rwb; Thu, 11 Aug 2022 02:09:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR5TkPgOKvTeEWeO6MrO5aABDecCgfI2eMe1wpmpVe4ezDPhiOtzeHUaYcGbdu/2C6WW3X+h X-Received: by 2002:a05:6402:174b:b0:43d:7b29:5ce9 with SMTP id v11-20020a056402174b00b0043d7b295ce9mr29038945edx.313.1660208949545; Thu, 11 Aug 2022 02:09:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660208949; cv=pass; d=google.com; s=arc-20160816; b=KruxGOKhB+FSHp8fRk/OQKF1/QAf95Qp4mc07w8bKGQkecXfVPpgQ1CfeRFvYe8tPr QMoUgsqEnMXeXttbt2a+B5/6hPx/bLHXe4TOeljIYNNEXb8q5sPFkh9uNMUj/gzW/46l 4tro8Nt+sGlc6nqI4S3r7ggb+Ap20Nt4h+URusgteQhXwiehKbw90ZSmiKW/36H5thBG 0XzUvSV2LAxwglECMLkaifrGDLlNXnXqJHPAYqRqw69ZgmuOU0V++uqIfYm88jb9KtSa KvoB3pkjmJzCrISwUyFUjCUdstxPmKkGvQx9f+0l0uWy6x6o5OX6UYi09CCwEy5PfLRS lfsA== 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=OnRiGypbh3eP3I5btI89kOXB1nj0uHwk1N21rgGCzXQ=; b=uo44nCz6C8ToGQDbGnXK2Z73H8i5iy8hKGtK9yc+9ALl8tRhb7nomHa2bBzW036GMC bOzS6Me1zFS4WVVFFBc1rPocpt+zS49/FdmXe41HfZq33q9zZ8zfdT59aysmeVS09Soc QuCINZEJ9HstIC6yq497PvJ6qIr0ozj9VBKG4RA4LMyOxKA7o+Ie3BdyCGCAwkkD3FOg I/xG7AAKrwUGkcorEH0rpQfvXevIdgSVx9VJXUoA/DNIIdWF4AzpKWor2HZXbm1LH284 VDxRAhBydIDzdJuji5ZUSlPYQlcDDMD4ccaJ1DzyMR6kuv+/qlrTdTI97uguvVkyvdVn dVxQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AyOvH1jL; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd7-20020a1709069b8700b0073045237fd2si7163975ejc.751.2022.08.11.02.08.43; Thu, 11 Aug 2022 02:09:09 -0700 (PDT) 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=@intel.com header.s=Intel header.b=AyOvH1jL; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234070AbiHKIRC (ORCPT + 99 others); Thu, 11 Aug 2022 04:17:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234028AbiHKIRA (ORCPT ); Thu, 11 Aug 2022 04:17:00 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBDEB61B25 for ; Thu, 11 Aug 2022 01:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1660205819; x=1691741819; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=OnRiGypbh3eP3I5btI89kOXB1nj0uHwk1N21rgGCzXQ=; b=AyOvH1jLtUyJXpd8jeS/phmlMzvg/GAEoPA/p1sNU9lgjcrdU2HR8sxE U9B78Au+TAM7NRD/66JYlZoUSKUwjzXshErmETa8F5YKPTUcXGrk6cKLA hWkiwjBQrSsVyMi0cmzXkYAGYKEPBHzGzL0K+Vj4BeQ4oNPodqM+uT2qT vuPkdlUKPmXPDuaCxXMx7PZbMzPEipxo5KaFeytLCKeN/HqygRbKiunY3 gCwhxDqtUS/pCiDiqOlfAG0YZQ2k6TyOMINc0Zgny03xsriA9nMx7GX2Y +XB3yDXhIZpzDY67cWw3WZllYWvHkQcMz/Xc34Zi6B2siO0FWPazt93qn Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10435"; a="292549326" X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="292549326" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2022 01:16:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,228,1654585200"; d="scan'208";a="851127869" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP; 11 Aug 2022 01:16:59 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Thu, 11 Aug 2022 01:16:58 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Thu, 11 Aug 2022 01:16:58 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.28; Thu, 11 Aug 2022 01:16:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FTK8SFs27uXRtAAQAjrGhigYCSMHJ0dTHfjH5dt4/+G8FSVeFvC2s+Yoz/krPayDdEWhSYSxeNF02MRl/G4DskgXjnCIZheme5Dv0+8riD9H2LCw7HM+HcF+cy+Gb+ElTpeyEVlET/e0YbPTdCblEE5VsOxF4fCDiCY4dLWPMKv7OXvvAyXb+nbq2qsiccGcrvSxFocv5iyZFBGQAATFGPZ4bEOyj+MdaVcZXwXiX+KNLh0wUqyQEhxj6X1JMcfUFYPzgk4xtZrYj/tokUrEhwIhzTOxGnc8AosEBzs64ehNPQ0D+zEnvCg7ArwfwYX5MR7NtVU4/+XvpDW2RmjHrg== 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=OnRiGypbh3eP3I5btI89kOXB1nj0uHwk1N21rgGCzXQ=; b=dEQY+xK2Rp8JiRqcw9lk0wJBXrMrmI8m7LK/V7TiA4pHDRsI/Gttb3Zao3yJUBxz9y5YR6kCJsmv+6cQWuqUgzlI/qPvWZVRXydL48Ipjk7yBC8timjL/+o03T4Sy6sTI7KNybx+MVY7JbZC0HGFlBEJoZ32tMTmRvTu+8+lMdsOeXCcvmZ8snjJ3Jgr9Kc33Q94af64VxOqQ6I60yEamROdDAaDdewyyJrclH4xr+HRgwmBm29yVvO95Vl0m4lZbEPTHJzaYspW5aQjQUTZI7Qak6IrMnvMY33Na8V2Rz7adm1o7AK28Ica1ehTIh+DHBoJkvOFd8pXL6eimQTpNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from BYAPR11MB3062.namprd11.prod.outlook.com (2603:10b6:a03:92::18) by MW3PR11MB4585.namprd11.prod.outlook.com (2603:10b6:303:52::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.10; Thu, 11 Aug 2022 08:16:08 +0000 Received: from BYAPR11MB3062.namprd11.prod.outlook.com ([fe80::756c:27f:6d51:bdda]) by BYAPR11MB3062.namprd11.prod.outlook.com ([fe80::756c:27f:6d51:bdda%5]) with mapi id 15.20.5525.011; Thu, 11 Aug 2022 08:16:08 +0000 From: "Lu, Aaron" To: "42.hyeyoo@gmail.com" <42.hyeyoo@gmail.com> CC: "linux-mm@kvack.org" , "Hansen, Dave" , "linux-kernel@vger.kernel.org" , "Edgecombe, Rick P" , "song@kernel.org" Subject: Re: [RFC PATCH 1/4] x86/mm/cpa: restore global bit when page is present Thread-Topic: [RFC PATCH 1/4] x86/mm/cpa: restore global bit when page is present Thread-Index: AQHYrUI1xwv3uv7AJUiaDBJIKJAKla2pWqAA Date: Thu, 11 Aug 2022 08:16:08 +0000 Message-ID: References: <20220808145649.2261258-1-aaron.lu@intel.com> <20220808145649.2261258-2-aaron.lu@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f5b1395-6ac1-4bad-221e-08da7b71be5d x-ms-traffictypediagnostic: MW3PR11MB4585:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: stQC+gOmrlylX3qwmo+eh1bXxt4imKfIzepee1Qs9lzUdIhbawg7NRZultFeFj3MWs0aFkF99dokDWSyLZt/z15NGsD8hAzy8NQnC6eIh/yPDV2JFHGFusCEb2J5Pk4plm1JE3U7bNO9VdqMzHAd0S0X8uUrVA70ryhGBUwMCIjYgEMPRuwqxWSC5s+4kBJLLGEjreISabve8n3WEkFym0tuyleNK47c2fD1wmR2csLdHpD7PcFuCJnCFiu83RNqpLfGyL/rx7R8AQJybVAS5NE8+CRqaRhLMZ0V2kaISlRqno4roGXLImAhuchmIEHeijOzLPXq+HKF+mc9Fd7KOGJZPo+V8V+mv1XgefHD6lctJl8V4GZRivMN/0sH/1Ry/JzMHAZbG2sTfqeaLjupvk5SgOskFh9k5BUfRulRyHrbxo6WfPJZBYdTpiSgMK1nuTiXjgVrllk/n9SyXmFrscXEuCHH9eVFDel2oqPeeXbPNIya1CECS1NaAWI1hSrksv6XI3O7yOlIMzCJOhOaDchWSUB9D2f+Q9QumRJkoc8isECq2mLtxH848GUQvJcvf+v7kyd37GbGpiUQem7enH7I7dKKUWyiTqccWPwLi7w0sTGwq7vk7Pa5MJ8l6ZjGx1RSjjblrCKZlDgjGOSDb2bjVMXugDdNKVOu9x+ie5Vjj0mR0wK81PjmPc7dM7SyrZoMytb2UR5ere+W6jseKoIuVTNDmdEru3z/5mgad5hqaTfCQgCXrwAdqtDNsDNZ0sgF0D7dHrZacTYiIjbEzQGRQNrGTBpTpKdmgMkVZutFvtm315rYwIzli1QA0gA3 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB3062.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(346002)(396003)(39860400002)(376002)(136003)(366004)(316002)(122000001)(71200400001)(41300700001)(38070700005)(82960400001)(66946007)(66556008)(66476007)(2906002)(66446008)(64756008)(8676002)(91956017)(4326008)(6506007)(26005)(38100700002)(76116006)(6512007)(5660300002)(186003)(36756003)(478600001)(86362001)(83380400001)(8936002)(6916009)(54906003)(6486002)(2616005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TkpuM2dDcUk1N3dMTkxkMVBqOUJzUCtZQ2dyK2RsN1JOQlBCNWJKQlpxd0ZG?= =?utf-8?B?S1RsV2kvenZEdURHRlE1dTdiMVh3dytSY0F3SnN2SHZycE0wVW1xNjFKenpy?= =?utf-8?B?dVFLblFGTTlyRnFNVWFaMzNxdkxJRDJ1WHFVVzI2ckl4WHRLcnpaWGJqQnNl?= =?utf-8?B?K0NoVXM4VFdLV3JjS3NTd2IrbzBpZkdya3dYbVJvSHV6V0RtWWcwTEcvMzFL?= =?utf-8?B?RDVUdFpaMU5nSElTRkVEZy9OeE1iRHFQb2NOREpuUkF0bTBaTkZ2b1VZR3dC?= =?utf-8?B?cWpDajk0NkNUaDU4Ujl2MHJMbnprQnkveS9NTWVBbkRTbjNBdHlZd09mbDlj?= =?utf-8?B?bWh4NjlWREpJa0JCOURlWkFVSFNwYy9EVUxZZm5ybHozUEJUcWlnT3JBLzJW?= =?utf-8?B?RDRmOWhkQ2xNMTRTY3RJZkR3QnNVYmF3VnpSc0FOaXlReWJScUlnYXViT2FR?= =?utf-8?B?V2daU0RFalpMNUtJSnpxcTFmdTljRGxKYzgxbmMybTM0bmVOYk9XNERxb3B2?= =?utf-8?B?Y0lINW5YSGF2dnBzYm1kUEdJOGRyNktJMXZTNUdKMVppOHVRQnd6LytSN1li?= =?utf-8?B?SU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lhF?= =?utf-8?B?NXNQYlNyTW1tZFZsaFJBN1gzWnMyM25DVWg5clRXUmsyeHN5cDJ3M2dMT1M2?= =?utf-8?B?Q1lGaEEza3dXZTFoSURqdFhkSS9GZ3dHSlBTYzQ4b2Z6T0Z1MXdMS2JkOG5H?= =?utf-8?B?Q0dyeTF3UkJXZmRSbkM4K1llNXRKVC83c0lzZzFlUEw2UmV2cEZtNG5RNTJI?= =?utf-8?B?MEd0dVRxSnRJVTVqLzQ0VnUyaTltWDV2WWplUkF0REhlbkc1aHg4WE9JME5x?= =?utf-8?B?TDVEa1VDQlJucEgvS2tRdVliRGZXbTBSU1hsTHlDZklXTWxXYThQVTBiRURy?= =?utf-8?B?cHFvcVpYck40Qk42d3NodENvR0NvR2xveFV6TE5ETFdlUDRaeWFNaWQydGlE?= =?utf-8?B?ZHhLQTJmRkpYdmJpVHlJdUozbE5NUUtLalRDaWYzZDJ3bFpPK2VSM2VERmxu?= =?utf-8?B?YUpkYTl5Zmp2cTRjWWtMNSt6UGxlWHIyRVdHS3N5L3B3QkpFbDkrS2ExeGx0?= =?utf-8?B?cXYrUG5INEJwVUxobFlnRGcvT3ptLzQ5ZjNzNnV2cXFoTjQza1oybnRINDlW?= =?utf-8?B?RzBkZkFvS0djWGxvWkhJd1NRbTVKWGZvYW1vNlg4REUxdHo0TEFuL0tnUEZ6?= =?utf-8?B?MGZ1M1ZsZklFY1BuNkdMV1F1bG1sRmp1Z0hCRm1HdFh2TGxhQ3M5eXN0N2k0?= =?utf-8?B?M2c9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3062.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f5b1395-6ac1-4bad-221e-08da7b71be5d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2022 08:16:08.1485 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 678l3x6qwHmMpi2E/0g+Vz5OK3+OkssOWPcI5mO5MOx5vJiHf5Pm2fePZXVMtZHoXRinBOUt8evko6bFFa4QWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4585 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIyLTA4LTExIGF0IDA1OjIxICswMDAwLCBIeWVvbmdnb24gWW9vIHdyb3RlOg0K PiBPbiBNb24sIEF1ZyAwOCwgMjAyMiBhdCAxMDo1Njo0NlBNICswODAwLCBBYXJvbiBMdSB3cm90 ZToNCj4gPiBGb3IgY29uZmlncyB0aGF0IGRvbid0IGhhdmUgUFRJIGVuYWJsZWQgb3IgY3B1cyB0 aGF0IGRvbid0IG5lZWQNCj4gPiBtZWx0ZG93biBtaXRpZ2F0aW9uLCBjdXJyZW50IGtlcm5lbCBj YW4gbG9zZSBHTE9CQUwgYml0IGFmdGVyIGEgcGFnZQ0KPiA+IGdvZXMgdGhyb3VnaCBhIGN5Y2xl IG9mIHByZXNlbnQgLT4gbm90IHByZXNlbnQgLT4gcHJlc2VudC4NCj4gPiANCj4gPiBJdCBoYXBw ZW5lZCBsaWtlIHRoaXMoX192dW5tYXAoKSBkb2VzIHRoaXMgaW4gdm1fcmVtb3ZlX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