From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: eric.dong@intel.com) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by groups.io with SMTP; Mon, 12 Aug 2019 19:29:31 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 19:29:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,379,1559545200"; d="scan'208";a="204933177" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 12 Aug 2019 19:29:31 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 19:29:30 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 12 Aug 2019 19:29:30 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 12 Aug 2019 19:29:29 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.19]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.15]) with mapi id 14.03.0439.000; Tue, 13 Aug 2019 10:29:22 +0800 From: "Dong, Eric" To: "devel@edk2.groups.io" , "lersek@redhat.com" CC: "Ni, Ray" 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/XtwkLeab4W0fQ Date: Tue, 13 Aug 2019 02:29:21 +0000 Message-ID: References: <20190812103152.35164-1-eric.dong@intel.com> <3d4a7318-f955-f05f-e7a2-b189b2a02246@redhat.com> In-Reply-To: <3d4a7318-f955-f05f-e7a2-b189b2a02246@redhat.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 SGkgTGFzemxvLA0KDQpZZXMsIEkgYWxyZWFkeSBjaGVja2VkIElBMzIgYnVpbGQuDQoNCkFzIFJh eSBpcyBsZWF2aW5nIHRoZXNlIGRheXMsIGNhbiB5b3UgaGVscCB0byByZXZpZXcgdGhpcyBzZXJp YWw/DQoNClRoYW5rcywNCkVyaWMNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBG cm9tOiBkZXZlbEBlZGsyLmdyb3Vwcy5pbyBbbWFpbHRvOmRldmVsQGVkazIuZ3JvdXBzLmlvXSBP biBCZWhhbGYgT2YNCj4gTGFzemxvIEVyc2VrDQo+IFNlbnQ6IE1vbmRheSwgQXVndXN0IDEyLCAy MDE5IDEwOjE1IFBNDQo+IFRvOiBEb25nLCBFcmljIDxlcmljLmRvbmdAaW50ZWwuY29tPjsgZGV2 ZWxAZWRrMi5ncm91cHMuaW8NCj4gQ2M6IE5pLCBSYXkgPHJheS5uaUBpbnRlbC5jb20+DQo+IFN1 YmplY3Q6IFJlOiBbZWRrMi1kZXZlbF0gW1BhdGNoIHYyIDAvNl0gQWRkICJ0ZXN0IHRoZW4gd3Jp dGUiIG1lY2hhbmlzbS4NCj4gDQo+IE9uIDA4LzEyLzE5IDEyOjMxLCBFcmljIERvbmcgd3JvdGU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