From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: eric.dong@intel.com) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by groups.io with SMTP; Wed, 14 Aug 2019 00:37:14 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2019 00:37:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,384,1559545200"; d="scan'208";a="327925558" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 14 Aug 2019 00:37:13 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 14 Aug 2019 00:37:13 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 14 Aug 2019 00:37:13 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.19]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.65]) with mapi id 14.03.0439.000; Wed, 14 Aug 2019 15:31:04 +0800 From: "Dong, Eric" To: "Gao, Liming" , "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Ni, Ray" , "leif.lindholm@linaro.org" , "afish@apple.com" , "Cetola, Stephano" , "Kinney, Michael D" Subject: Re: [edk2-devel] [Patch v2 0/6] Add "test then write" mechanism. Thread-Topic: [edk2-devel] [Patch v2 0/6] Add "test then write" mechanism. Thread-Index: AQHVURhkPfnD3GPMc06XLT/XtwkLeab4W0fQgAFf3wCAAIbekA== Date: Wed, 14 Aug 2019 07:31:03 +0000 Message-ID: References: <20190812103152.35164-1-eric.dong@intel.com> <3d4a7318-f955-f05f-e7a2-b189b2a02246@redhat.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D0997@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D0997@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: eric.dong@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgbGltaW5nLA0KDQpUaGlzIGlzIGEgYnVnIGZpeC4gSXQgaXMgcmVxdWlyZWQgYnkgMjAxOTA4 IHN0YWJsZSB0YWcuDQoNClRoYW5rcywNCkVyaWMNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQ0KPiBGcm9tOiBHYW8sIExpbWluZw0KPiBTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCAxNCwg MjAxOSAzOjI3IFBNDQo+IFRvOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbzsgRG9uZywgRXJpYyA8ZXJp Yy5kb25nQGludGVsLmNvbT47DQo+IGxlcnNla0ByZWRoYXQuY29tDQo+IENjOiBOaSwgUmF5IDxy YXkubmlAaW50ZWwuY29tPjsgbGVpZi5saW5kaG9sbUBsaW5hcm8ub3JnOyBhZmlzaEBhcHBsZS5j b207DQo+IENldG9sYSwgU3RlcGhhbm8gPHN0ZXBoYW5vLmNldG9sYUBpbnRlbC5jb20+OyBLaW5u ZXksIE1pY2hhZWwgRA0KPiA8bWljaGFlbC5kLmtpbm5leUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6 IFJFOiBbZWRrMi1kZXZlbF0gW1BhdGNoIHYyIDAvNl0gQWRkICJ0ZXN0IHRoZW4gd3JpdGUiIG1l Y2hhbmlzbS4NCj4gDQo+IEVyaWM6DQo+ICAgSXMgdGhpcyBhIGJ1ZyBmaXggb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